1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

spec: disable a part of Kernel.open spec where spawns a process for WASI

WASI doesn't provide a way to spawn a new process
This commit is contained in:
Yuta Saito 2022-02-28 02:57:40 +00:00
parent df6f2b645f
commit 7023b3d394
Notes: git 2022-03-17 17:33:32 +09:00

View file

@ -27,7 +27,7 @@ describe "Kernel#open" do
open(@name, "r") { |f| f.gets }.should == @content
end
platform_is_not :windows do
platform_is_not :windows, :wasi do
it "opens an io when path starts with a pipe" do
@io = open("|date")
begin