зеркало из https://github.com/github/ruby.git
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:
Родитель
4a2b99795a
Коммит
a11fa7d8cd
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче