1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a test for [ruby-dev:33264].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-01-24 06:38:57 +00:00
parent 28d5ab7816
commit 1ca6577e0c

View file

@ -407,5 +407,15 @@ EOT
end
def test_marshal
with_pipe("EUC-JP") {|r, w|
data = 56225
Marshal.dump(data, w)
w.close
result = nil
assert_not_raised("[ruby-dev:33264]") { result = Marshal.load(r) }
assert_equal(data, result)
}
end
end