diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-03 05:05:29 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-03 05:05:29 +0000 |
commit | bdc55aa0c690e343be3b31a62c5f44a41f22e330 (patch) | |
tree | 168b1f7f88f755f92180e348117af34a11e5cf52 /test/ruby/test_complex.rb | |
parent | 89ae71d72157aa8800443741ff328199d7ba59e5 (diff) |
* complex.c: wrote Complex#_dump and Complex::load. But now
disabled (due to compatibility) [experimental].
* rational.c: wrote Rational#_dump and Rational::load. ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 aa6d6a77fe..2ee97a0ad8 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -657,6 +657,7 @@ class Complex_Test < Test::Unit::TestCase assert_instance_of(Complex, c2) end +=begin bug3656 = '[ruby-core:31622]' assert_raise(TypeError, bug3656) { Complex(1,2).marshal_load(0) @@ -666,6 +667,7 @@ class Complex_Test < Test::Unit::TestCase c.freeze assert(c.frozen?) assert_raise(RuntimeError){c.marshal_load([2,3])} +=end end def test_parse |