summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-10 15:26:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-10 15:26:48 +0000
commit2aabb9aed2e026c14ce45543c797cfd6fc05d6d9 (patch)
treedb332bc01b26fb59f35ebbb37a10ef6b4e419198 /test/ruby/test_file_exhaustive.rb
parent4fdb1fbdbfe6449cb8a0d252d76f0072ba9a6806 (diff)
* test/ruby/test_file_exhaustive.rb (test_expand_path_home_dir_string):
enable generic test on all platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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")