From 2f40495328954002d747048e77446325e62b8403 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 27 Apr 2010 21:09:46 +0000 Subject: Cleaning up syntax warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_mathn.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_mathn.rb') diff --git a/test/test_mathn.rb b/test/test_mathn.rb index 7083568525..d36985378b 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', '1**2'], "", [], [], '[ruby-core:25740]' - assert_in_out_err ['-r', 'mathn', '-e', '(1<<126)**2'], "", [], [], '[ruby-core:25740]' + 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]' end end -- cgit v1.2.3