Permalink
Browse files

Dir.pwd sometimes mixes case on drive letter...I no longer think this…

… is a bug but Windows only beating me down
  • Loading branch information...
enebo committed May 16, 2012
1 parent b998b13 commit b2626f03dec747fa227118a71add562be7d245b1
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_kernel.rb
View
@@ -584,7 +584,7 @@ def test_backquote1
else
result = `sh -c pwd`.strip
end
- expected = Dir.pwd
+ expected = Dir.pwd.downcase
assert_equal(expected, result)
end
@@ -594,7 +594,7 @@ def test_backquote1_1
else
result = `pwd`.strip
end
- expected = Dir.pwd
+ expected = Dir.pwd.downcase
assert_equal(expected, result)
end
@@ -845,4 +845,4 @@ def test_exit_bang
# untrace_var
# warn
-end
+end

0 comments on commit b2626f0

Please sign in to comment.