From 1ca6577e0cb2dad56d7c43e3eeb79b15171fed42 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 24 Jan 2008 06:38:57 +0000 Subject: add a test for [ruby-dev:33264]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io_m17n.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/ruby') diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb index 8646e6c6a6..eb4fd1c46f 100644 --- a/test/ruby/test_io_m17n.rb +++ b/test/ruby/test_io_m17n.rb @@ -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 -- cgit v1.2.3