diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-28 08:01:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-28 08:01:48 +0000 |
commit | 9da67278844d995c9bb2e1a0edcefad074c7fc1b (patch) | |
tree | a752ff7f3f9db17651a285c83a0583f05098d03f /test/ruby | |
parent | a2369fc2feb1f75dc72eeddbcc512ca74a70d0dd (diff) |
test_file.rb: fix name clash
* test/ruby/test_file.rb (test_realpath_encoding): get rid of name
clash on case-insensitive filesystem in ascii only environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index ee6bfe77ea..3599d168d1 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -266,7 +266,7 @@ class TestFile < Test::Unit::TestCase Dir.mktmpdir('rubytest-realpath') {|tmpdir| realdir = File.realpath(tmpdir) open(File.join(tmpdir, tst), "w") {} - a = File.join(tmpdir, "a") + a = File.join(tmpdir, "x") File.symlink(tst, a) assert_equal(File.join(realdir, tst), File.realpath(a)) File.unlink(a) |