spec: skip '~' test for wasi due to lack of shell

This commit is contained in:
Yuta Saito 2022-02-25 08:17:47 +00:00
parent fe2e5c13f9
commit b1bcad5e3a
Notes: git 2022-03-14 23:05:35 +09:00
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ describe "Dir.home" do
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