* 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
This commit is contained in:
parent
b9a7f8b44c
commit
8188057b58
@ -1,3 +1,8 @@
|
||||
Wed Nov 2 00:14:15 2011 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_marshal.rb: renamed methods duplicated with those
|
||||
of marshaltestlib.rb.
|
||||
|
||||
Tue Nov 1 22:08:27 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: reject llvm-gcc.
|
||||
|
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user