mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32: UTF-8 spawn
* test/ruby/test_process.rb (test_spawn_nonascii): assertions for non-ascii arguments. [ruby-core:24309] [Bug #1771] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5d61a862b
commit
3a01b9ec91
1 changed files with 2 additions and 0 deletions
|
@ -1631,6 +1631,8 @@ EOS
|
|||
assert_equal("ok\n", `#{exename} /c echo ok`, msg)
|
||||
assert_equal("ok\n", IO.popen("#{exename} /c echo ok", &:read), msg)
|
||||
assert_equal("ok\n", IO.popen(%W"#{exename} /c echo ok", &:read), msg)
|
||||
File.binwrite("#{name}.txt", "ok")
|
||||
assert_equal("ok", `type #{name}.txt`)
|
||||
end
|
||||
end
|
||||
end if windows?
|
||||
|
|
Loading…
Add table
Reference in a new issue