diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-02-13 22:56:42 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-02-13 22:56:42 +0900 |
commit | a11fa7d8cd424e60b34a1c03cc18abee17203576 (patch) | |
tree | 39124a7bf3108119fdc1821c803dd09a4b018bb6 /spec | |
parent | 4a2b99795aa33bd39876742cc6fc524024e6bbac (diff) | |
download | ruby-a11fa7d8cd424e60b34a1c03cc18abee17203576.tar.gz |
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.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/dir/home_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/dir/home_spec.rb b/spec/ruby/core/dir/home_spec.rb index cdfc9346dc..73deca2cfd 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 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 |