From 456f3980b20ca031a2925094feff86ceb0032b8e Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 22 Nov 2010 05:28:22 +0000 Subject: [PATCH] Fix r29848's test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_m17n.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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