diff options
Diffstat (limited to 'test/ruby/test_complex.rb')
-rw-r--r-- | test/ruby/test_complex.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index c1a2cfa662..f2324a2b72 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -1055,6 +1055,7 @@ class Complex_Test < Test::Unit::TestCase Complex.const_set(:Unify, unify_val) if f end +=begin def test_abs b = 2**100 def b.*(x); self; end rescue nil @@ -1075,6 +1076,7 @@ class Complex_Test < Test::Unit::TestCase nan = inf/inf assert_raise(Errno::EDOM, Errno::ERANGE) { Complex(1, nan).abs } end +=end def test_coerce c = Complex(6, 3) |