summaryrefslogtreecommitdiff
path: root/test/ruby/test_eval.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-30 09:34:41 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-30 11:45:37 +0900
commit409b0ec4c3c4878c0ba164d1303de67787157808 (patch)
tree292c5554ee9f81571b760d359ac9513c44da3ee0 /test/ruby/test_eval.rb
parent84837e6d16cb0e588b1acc2691cb1048b9a89989 (diff)
Suppress unused variable warnings
Diffstat (limited to 'test/ruby/test_eval.rb')
-rw-r--r--test/ruby/test_eval.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_eval.rb b/test/ruby/test_eval.rb
index 8900b4f165..49bb3305e4 100644
--- a/test/ruby/test_eval.rb
+++ b/test/ruby/test_eval.rb
@@ -345,6 +345,7 @@ class TestEval < Test::Unit::TestCase
# assert_equal(1, eval("foo11"))
assert_equal(eval("foo22"), eval("foo22", p))
assert_equal(55, eval("foo22"))
+ assert_equal(55, foo22)
}.call
end