diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 17:53:51 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 17:53:51 +0000 |
commit | 71d114297f6891937ec680c4fa0e2455e12af4f4 (patch) | |
tree | bd22382fad5436a5e19fcfec2df56d3987e3855d /test/test_mathn.rb | |
parent | fdc3882820d425b85082d5b871060aea39e6be81 (diff) |
* complex.c (nucomp_expt): the result of f_complex_new2 may be a fixnum
with mathn. [ruby-core:44170] [Bug #6267]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_mathn.rb')
-rw-r--r-- | test/test_mathn.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_mathn.rb b/test/test_mathn.rb index f511adb7d5..fd0cb32c6c 100644 --- a/test/test_mathn.rb +++ b/test/test_mathn.rb @@ -6,5 +6,6 @@ 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)**5;!a'], "", [], [], '[ruby-core:44170]' end end |