summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r--test/ruby/test_file_exhaustive.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 25cb92ea36..20097c58f9 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -508,11 +508,11 @@ class TestFileExhaustive < Test::Unit::TestCase
ENV["HOME"] = new_home
bug8034 = "[ruby-core:53168]"
- assert_equal File.join(new_home, "foo"), File.expand_path("foo", "~")
- assert_equal File.join(new_home, "bar", "foo"), File.expand_path("foo", "~/bar")
+ assert_equal File.join(new_home, "foo"), File.expand_path("foo", "~"), bug8034
+ assert_equal File.join(new_home, "bar", "foo"), File.expand_path("foo", "~/bar"), bug8034
ensure
ENV["HOME"] = home
- end if DRIVE
+ end
def test_expand_path_remove_trailing_alternative_data
assert_equal File.join(@rootdir, "aaa"), File.expand_path("#{@rootdir}/aaa::$DATA")