mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@ac878ad
This commit is contained in:
parent
f0bfa266d7
commit
f02d2f82bf
17 changed files with 214 additions and 3 deletions
|
@ -36,6 +36,10 @@ describe "Kernel#`" do
|
|||
end
|
||||
|
||||
platform_is_not :windows do
|
||||
it "handles invalid UTF-8 bytes in command" do
|
||||
`echo "testing\xC2 a non UTF-8 string"`.should == "testing\xC2 a non UTF-8 string\n"
|
||||
end
|
||||
|
||||
it "sets $? to the exit status of the executed sub-process" do
|
||||
ip = 'world'
|
||||
`echo disc #{ip}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue