aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_mathn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_mathn.rb')
-rw-r--r--test/test_mathn.rb4
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