From 0ba69794c683d53cbcf1d5500828a20f2bef8970 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 12 Oct 2010 20:54:29 +0000 Subject: [PATCH] Fix test; escape a backslash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io_m17n.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb index 10714b3e44..24041f07ad 100644 --- a/test/ruby/test_io_m17n.rb +++ b/test/ruby/test_io_m17n.rb @@ -1051,7 +1051,7 @@ EOT end def test_open_pipe_r_enc2 - open("|#{EnvUtil.rubybin} -e 'putc ?\u3042'", "r:UTF-8") {|f| + open("|#{EnvUtil.rubybin} -e 'putc \"\\u3042\"'", "r:UTF-8") {|f| assert_equal(Encoding::UTF_8, f.external_encoding) assert_equal(nil, f.internal_encoding) s = f.read