test/ruby/test_refinement.rb: Remove "assigned but unused variable"
This commit is contained in:
parent
6f7e02bf46
commit
f22296d27e
@ -1766,11 +1766,9 @@ class TestRefinement < Test::Unit::TestCase
|
||||
def test_refined_class
|
||||
refinements = Module.new {
|
||||
refine Integer do
|
||||
int_refinement = self
|
||||
end
|
||||
|
||||
refine String do
|
||||
str_refinement = self
|
||||
end
|
||||
}.refinements
|
||||
assert_equal(Integer, refinements[0].refined_class)
|
||||
|
Loading…
x
Reference in New Issue
Block a user