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:
parent
4a2b99795a
commit
a11fa7d8cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue