Project

General

Profile

Actions

Bug #3720

closed

test_marshal_dump_extra_iv doesn't check as intended

Added by nagachika (Tomoyuki Chikanaga) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
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

Actions

Also available in: Atom PDF

Like0
Like0Like0