Project

General

Profile

Bug #3720

test_marshal_dump_extra_iv doesn't check as intended

Added by nagachika (Tomoyuki Chikanaga) about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-08-18 trunk 28970) [i686-linux]
Backport:
[ruby-dev:42083]

Description

=begin
test/ruby/test_marshal.rb の test_marshal_dump_extra_iv は
おそらく意図したチェックをしていないと思います。
以下の間違いでないでしょうか。

Index: test/ruby/test_marshal.rb
===================================================================
--- test/ruby/test_marshal.rb (revision 29048)
+++ test/ruby/test_marshal.rb (working copy)
@@ -431,7 +431,7 @@
m = Marshal.dump(o)
}
o2 = Marshal.load(m)

  • assert_equal(STDIN, o.stdin)
  • assert_equal(STDIN, o2.stdin)
    end

    def test_marshal_string_encoding
    =end

Also available in: Atom PDF