diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-01 02:32:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-01 02:32:24 +0000 |
commit | ae9c138e2dc7723ec2c9ba6fc5fc8737f20043e2 (patch) | |
tree | 4af9af0c8aac22439af4e84a6ae727e13ab276cf | |
parent | 4bef732db14d0adc56514462cc4eaeeb6ff56ea4 (diff) | |
download | ruby-ae9c138e2dc7723ec2c9ba6fc5fc8737f20043e2.tar.gz |
* test/ruby/test_marshal.rb (TestMarshal#test_limit): test for
[ruby-core:24100].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_marshal.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index af389d2b2d..268acf2a32 100644 --- a/test/ruby/test_marshal.rb +++ b/test/ruby/test_marshal.rb @@ -116,6 +116,7 @@ class TestMarshal < Test::Unit::TestCase def test_limit assert_equal([[[]]], Marshal.load(Marshal.dump([[[]]], 3))) assert_raise(ArgumentError) { Marshal.dump([[[]]], 2) } + assert_nothing_raised(ArgumentError, '[ruby-core:24100]') { Marshal.dump("\u3042", 1) } end def test_userdef_invalid |