test/-ext-/eval/test_eval.rb: Prevent "assigned but unused variable"
This commit is contained in:
parent
feff683306
commit
314b76a567
@ -4,9 +4,9 @@ require "-test-/eval"
|
|||||||
|
|
||||||
class EvalTest < Test::Unit::TestCase
|
class EvalTest < Test::Unit::TestCase
|
||||||
def test_rb_eval_string
|
def test_rb_eval_string
|
||||||
a = 1
|
_a = 1
|
||||||
assert_equal [self, 1, __method__], rb_eval_string(%q{
|
assert_equal [self, 1, __method__], rb_eval_string(%q{
|
||||||
[self, a, __method__]
|
[self, _a, __method__]
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user