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

spec/ruby/core/dir/home_spec.rb: exclude Android

I couldn't find a robust way to get the home path except ENV["HOME"] on
Android Termux.
This commit is contained in:
Yusuke Endoh 2020-02-13 22:56:42 +09:00
parent 4a2b99795a
commit a11fa7d8cd

View file

@ -28,7 +28,7 @@ describe "Dir.home" do
end
end
platform_is_not :windows, :solaris do
platform_is_not :windows, :solaris, :android do
it "returns the named user's home directory, from the user database" do
Dir.home(ENV['USER']).should == `echo ~#{ENV['USER']}`.chomp
end