mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clean warnings: unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d514cd3ca0
commit
0de2d84af8
9 changed files with 12 additions and 17 deletions
|
@ -61,6 +61,7 @@ End
|
|||
ObjectSpace.define_finalizer(a) { p :ok }
|
||||
b = a.dup
|
||||
ObjectSpace.define_finalizer(a) { p :ok }
|
||||
!b
|
||||
END
|
||||
assert_raise(ArgumentError) { ObjectSpace.define_finalizer([], Object.new) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue