diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_marshal.rb | 9 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Wed Jul 23 21:38:16 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * test/ruby/test_marshal.rb: suppress warning during test. + Wed Jul 23 21:35:53 2008 Yusuke Endoh <mame@tsg.ne.jp> * test/ruby/test_dir.rb: suppress warning during test. diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index 267f435bcb..069844583b 100644 --- a/test/ruby/test_marshal.rb +++ b/test/ruby/test_marshal.rb @@ -4,6 +4,15 @@ require_relative 'marshaltestlib' class TestMarshal < Test::Unit::TestCase include MarshalTestLib + def setup + @verbose = $VERBOSE + $VERBOSE = nil + end + + def teardown + $VERBOSE = @verbose + end + def encode(o) Marshal.dump(o) end |