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:
parent
28d5ab7816
commit
1ca6577e0c
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue