diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-08-24 10:36:17 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-08-24 10:36:17 +0900 |
commit | 314b76a567e84f3ef245e84e844bdd4aaaad4f2a (patch) | |
tree | b42c6d26ed8e4c25e0b3ac782a4ec809c240df20 | |
parent | feff6833060d025b843063b744b6b4043bd72157 (diff) |
test/-ext-/eval/test_eval.rb: Prevent "assigned but unused variable"
-rw-r--r-- | test/-ext-/eval/test_eval.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/-ext-/eval/test_eval.rb b/test/-ext-/eval/test_eval.rb index 27952996e2..e37d301b2e 100644 --- a/test/-ext-/eval/test_eval.rb +++ b/test/-ext-/eval/test_eval.rb @@ -4,9 +4,9 @@ require "-test-/eval" 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 |