Skip to content

Commit

Permalink
test/-ext-/eval/test_eval.rb: Prevent "assigned but unused variable"
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Aug 24, 2022
1 parent feff683 commit 314b76a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/-ext-/eval/test_eval.rb
Expand Up @@ -4,9 +4,9 @@

class EvalTest < Test::Unit::TestCase
def test_rb_eval_string
a = 1
_a = 1
assert_equal [self, 1, __method__], rb_eval_string(%q{
[self, a, __method__]
[self, _a, __method__]
})
end
end

0 comments on commit 314b76a

Please sign in to comment.