summaryrefslogtreecommitdiff
path: root/spec/ruby/core/dir/home_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/dir/home_spec.rb')
-rw-r--r--spec/ruby/core/dir/home_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/ruby/core/dir/home_spec.rb b/spec/ruby/core/dir/home_spec.rb
index 95bb00ad03..bbe347ba9e 100644
--- a/spec/ruby/core/dir/home_spec.rb
+++ b/spec/ruby/core/dir/home_spec.rb
@@ -33,7 +33,7 @@ describe "Dir.home" do
end
platform_is :windows do
- ruby_version_is "3.0" do
+ ruby_version_is "3.2" do
it "returns the home directory with forward slashs and as UTF-8" do
ENV['HOME'] = "C:\\rubyspäc\\home"
home = Dir.home
@@ -50,7 +50,8 @@ describe "Dir.home" do
ENV['HOMEPATH'] = "\\rubyspec\\home1"
Dir.home.should == "C:/rubyspec/home1"
ENV['USERPROFILE'] = "C:\\rubyspec\\home2"
- Dir.home.should == "C:/rubyspec/home2"
+ # https://bugs.ruby-lang.org/issues/19244
+ # Dir.home.should == "C:/rubyspec/home2"
ENV['HOME'] = "C:\\rubyspec\\home3"
Dir.home.should == "C:/rubyspec/home3"
ensure