ruby-changes:3716
From: ko1@a...
Date: Thu, 24 Jan 2008 15:39:08 +0900 (JST)
Subject: [ruby-changes:3716] akr - Ruby:r15205 (trunk): add a test for .
akr 2008-01-24 15:38:57 +0900 (Thu, 24 Jan 2008) New Revision: 15205 Modified files: trunk/test/ruby/test_io_m17n.rb Log: add a test for [ruby-dev:33264]. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_io_m17n.rb?r1=15205&r2=15204&diff_format=u Index: test/ruby/test_io_m17n.rb =================================================================== --- test/ruby/test_io_m17n.rb (revision 15204) +++ test/ruby/test_io_m17n.rb (revision 15205) @@ -407,5 +407,15 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/