diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-02-28 02:57:40 +0000 |
---|---|---|
committer | Yuta Saito <kateinoigakukun@gmail.com> | 2022-03-17 17:33:12 +0900 |
commit | 7023b3d394e111be8911e364ac59e03ca1d8e13f (patch) | |
tree | 41c1f9998d8750ea806642e7aac59158b11e97e3 /spec/ruby/core/kernel/open_spec.rb | |
parent | df6f2b645ffd086018d83ebd15b9b5cafdbbb2b6 (diff) | |
download | ruby-7023b3d394e111be8911e364ac59e03ca1d8e13f.tar.gz |
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
Diffstat (limited to 'spec/ruby/core/kernel/open_spec.rb')
-rw-r--r-- | spec/ruby/core/kernel/open_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/open_spec.rb b/spec/ruby/core/kernel/open_spec.rb index 569f2f6a7f..fa9299f9d4 100644 --- a/spec/ruby/core/kernel/open_spec.rb +++ b/spec/ruby/core/kernel/open_spec.rb @@ -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 |