summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-22 05:28:22 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-22 05:28:22 +0000
commit456f3980b20ca031a2925094feff86ceb0032b8e (patch)
tree6c017a05571451c3b58b3077195ed99f254de6e0 /test/ruby
parent33356ff75b3c33f85aa21707e2e23bcba0fe7c17 (diff)
Fix r29848's test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_m17n.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb
index 7713f07df2..3dccc76c91 100644
--- a/test/ruby/test_m17n.rb
+++ b/test/ruby/test_m17n.rb
@@ -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