ruby-changes:17840
From: naruse <ko1@a...>
Date: Mon, 22 Nov 2010 14:28:28 +0900 (JST)
Subject: [ruby-changes:17840] Ruby:r29852 (trunk): Fix r29848's test.
naruse 2010-11-22 14:28:22 +0900 (Mon, 22 Nov 2010) New Revision: 29852 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29852 Log: Fix r29848's test. Modified files: trunk/test/ruby/test_m17n.rb Index: test/ruby/test_m17n.rb =================================================================== --- test/ruby/test_m17n.rb (revision 29851) +++ test/ruby/test_m17n.rb (revision 29852) @@ -1102,7 +1102,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/