From ba3fe885d5b5f8d1b8be43e11a9c484f6831bb9c Mon Sep 17 00:00:00 2001 From: duerst Date: Tue, 22 Jul 2008 10:39:30 +0000 Subject: * test/ruby/test_transcode.rb: added two comments git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_transcode.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_transcode.rb b/test/ruby/test_transcode.rb index 71045bb82d..73f2f61832 100644 --- a/test/ruby/test_transcode.rb +++ b/test/ruby/test_transcode.rb @@ -258,8 +258,8 @@ class TestTranscode < Test::Unit::TestCase assert_raise(RuntimeError) { "\x1b(A".encode("utf-8", "iso-2022-jp") } assert_raise(RuntimeError) { "\x1b$(A".encode("utf-8", "iso-2022-jp") } assert_equal("\uff71\uff72\uff73\uff74\uff75", - "\x1b(I12345\x1b(B".force_encoding("iso-2022-jp").encode("utf-8")) - assert_equal("\u9299", "\x1b$(Dd!\x1b(B".encode("utf-8", "iso-2022-jp")) + "\x1b(I12345\x1b(B".force_encoding("iso-2022-jp").encode("utf-8")) # JIS X 0201 ァィゥェォ + assert_equal("\u9299", "\x1b$(Dd!\x1b(B".encode("utf-8", "iso-2022-jp")) # JIS X 0212 区68 点01 銙 assert_raise(RuntimeError) { "\x1b$C".encode("utf-8", "iso-2022-jp") } assert_raise(RuntimeError) { "\x1e".encode("utf-8", "iso-2022-jp") } assert_raise(RuntimeError) { "\x80".encode("utf-8", "iso-2022-jp") } -- cgit v1.2.3