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:
parent
33356ff75b
commit
456f3980b2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue