[前][次][番号順一覧][スレッド一覧]

ruby-changes:71414

From: Yuta <ko1@a...>
Date: Mon, 14 Mar 2022 23:05:26 +0900 (JST)
Subject: [ruby-changes:71414] b1bcad5e3a (master): spec: skip '~' test for wasi due to lack of shell

https://git.ruby-lang.org/ruby.git/commit/?id=b1bcad5e3a

From b1bcad5e3afa6f6f017c0d2378ab20f29c0d013a Mon Sep 17 00:00:00 2001
From: Yuta Saito <kateinoigakukun@g...>
Date: Fri, 25 Feb 2022 08:17:47 +0000
Subject: spec: skip '~' test for wasi due to lack of shell

---
 spec/ruby/core/dir/home_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/ruby/core/dir/home_spec.rb b/spec/ruby/core/dir/home_spec.rb
index 713ba9db9a..8377f1dc97 100644
--- a/spec/ruby/core/dir/home_spec.rb
+++ b/spec/ruby/core/dir/home_spec.rb
@@ -28,7 +28,7 @@ describe "Dir.home" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/dir/home_spec.rb#L28
       end
     end
 
-    platform_is_not :windows, :solaris, :android do
+    platform_is_not :windows, :solaris, :android, :wasi do
       it "returns the named user's home directory, from the user database" do
         Dir.home(ENV['USER']).should == `echo ~#{ENV['USER']}`.chomp
       end
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]