diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-01 15:21:50 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-01 15:21:50 +0000 |
commit | 8188057b58c738989a39a98fe8030a05d82dea65 (patch) | |
tree | 0d8adbf4af825ecd3fb59b352036c87c9e3c6216 /test/ruby/test_marshal.rb | |
parent | b9a7f8b44c26b2d978bbcf33e67ecc1337573944 (diff) | |
download | ruby-8188057b58c738989a39a98fe8030a05d82dea65.tar.gz |
* test/ruby/test_marshal.rb: renamed methods duplicated with those
of marshaltestlib.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_marshal.rb')
-rw-r--r-- | test/ruby/test_marshal.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index 3eebbfafca..4b72e371bf 100644 --- a/test/ruby/test_marshal.rb +++ b/test/ruby/test_marshal.rb @@ -263,7 +263,7 @@ class TestMarshal < Test::Unit::TestCase assert_equal(true, y.first.first.untrusted?) end - def test_symbol + def test_symbol2 [:ruby, :"\u{7d05}\u{7389}"].each do |sym| assert_equal(sym, Marshal.load(Marshal.dump(sym)), '[ruby-core:24788]') end @@ -321,7 +321,7 @@ class TestMarshal < Test::Unit::TestCase end end - def test_regexp + def test_regexp2 assert_equal(/\\u/, Marshal.load("\004\b/\b\\\\u\000")) assert_equal(/u/, Marshal.load("\004\b/\a\\u\000")) assert_equal(/u/, Marshal.load("\004\bI/\a\\u\000\006:\016@encoding\"\vEUC-JP")) |