diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 20:54:29 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-12 20:54:29 +0000 |
commit | 0ba69794c683d53cbcf1d5500828a20f2bef8970 (patch) | |
tree | c08fa08341b9aa8ccf948fd02e8cd705cc19d768 /test/ruby/test_io_m17n.rb | |
parent | e7413bc6ecdff9751394ceeb37911beda4ca738a (diff) | |
download | ruby-0ba69794c683d53cbcf1d5500828a20f2bef8970.tar.gz |
Fix test; escape a backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r-- | test/ruby/test_io_m17n.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |