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.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_mathn.rb b/test/test_mathn.rb
index fd0cb32c6c..7f2b294bba 100644
--- a/test/test_mathn.rb
+++ b/test/test_mathn.rb
@@ -6,6 +6,7 @@ class TestMathn < Test::Unit::TestCase
def test_power
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]'
+ assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**4;!a'], "", [], [], '[ruby-core:44170]'
assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**5;!a'], "", [], [], '[ruby-core:44170]'
end
end