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

#1

Updated by shyouhei (Shyouhei Urabe) about 10 years ago

  • Status changed from Open to Assigned
  • Assignee set to akr (Akira Tanaka)

=begin

=end

#2

Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30891.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • test/ruby/test_marshal.rb (test_marshal_dump_extra_iv): fix a typo of local variable. [Bug #3720] [ruby-dev:42083] =end

Also available in: Atom PDF