1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix r29848's test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-11-22 05:28:22 +00:00
parent 33356ff75b
commit 456f3980b2

View file

@ -1102,7 +1102,7 @@ class TestM17N < Test::Unit::TestCase
end
def test_str_concat
assert_equal(1, "".concat(0xA2))
assert_equal(1, "".concat(0xA2).size)
assert_equal("A\x84\x31\xA4\x39".force_encoding("GB18030"),
"A".force_encoding("GB18030") << 0x8431A439)
end