diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-23 05:32:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-23 05:32:46 +0000 |
commit | 0de2d84af82935ba01ba1d3328c9fdcf287bf3e1 (patch) | |
tree | d1b58d756f4bebf7f4fb9ab8a8ad1b8cf300ad5e /test/test_mathn.rb | |
parent | d514cd3ca0dedfd62e86698e53b4dc01dff75ed2 (diff) | |
download | ruby-0de2d84af82935ba01ba1d3328c9fdcf287bf3e1.tar.gz |
Clean warnings: unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_mathn.rb')
-rw-r--r-- | test/test_mathn.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_mathn.rb b/test/test_mathn.rb index d36985378b..f511adb7d5 100644 --- a/test/test_mathn.rb +++ b/test/test_mathn.rb @@ -4,7 +4,7 @@ require_relative 'ruby/envutil' # mathn redefines too much. It must be isolated to child processes. class TestMathn < Test::Unit::TestCase def test_power - assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2'], "", [], [], '[ruby-core:25740]' - assert_in_out_err ['-r', 'mathn', '-e', 'a=(1<<126)**2'], "", [], [], '[ruby-core:25740]' + assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2;!a'], "", [], [], '[ruby-core:25740]' + assert_in_out_err ['-r', 'mathn', '-e', 'a=(1<<126)**2;!a'], "", [], [], '[ruby-core:25740]' end end |