[前][次][番号順一覧][スレッド一覧]

ruby-changes:24139

From: tadf <ko1@a...>
Date: Sat, 23 Jun 2012 08:30:27 +0900 (JST)
Subject: [ruby-changes:24139] tadf:r36190 (trunk): revert some tests

tadf	2012-06-23 08:30:17 +0900 (Sat, 23 Jun 2012)

  New Revision: 36190

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36190

  Log:
    revert some tests

  Modified files:
    trunk/test/ruby/test_complex.rb
    trunk/test/ruby/test_rational.rb

Index: test/ruby/test_complex.rb
===================================================================
--- test/ruby/test_complex.rb	(revision 36189)
+++ test/ruby/test_complex.rb	(revision 36190)
@@ -657,7 +657,6 @@
       assert_instance_of(Complex, c2)
     end
 
-=begin
     bug3656 = '[ruby-core:31622]'
     assert_raise(TypeError, bug3656) {
       Complex(1,2).marshal_load(0)
@@ -667,7 +666,6 @@
     c.freeze
     assert(c.frozen?)
     assert_raise(RuntimeError){c.marshal_load([2,3])}
-=end
   end
 
   def test_parse
Index: test/ruby/test_rational.rb
===================================================================
--- test/ruby/test_rational.rb	(revision 36189)
+++ test/ruby/test_rational.rb	(revision 36190)
@@ -823,7 +823,6 @@
     assert_equal(9, c2.instance_variable_get(:@ivar))
     assert_instance_of(Rational, c2)
 
-=begin
     assert_raise(ZeroDivisionError){
       Marshal.load("\x04\bU:\rRational[\ai\x06i\x05")
     }
@@ -837,7 +836,6 @@
     c.freeze
     assert(c.frozen?)
     assert_raise(RuntimeError){c.marshal_load([2,3])}
-=end
   end
 
   def test_parse

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]