mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
a2369fc2fe
commit
9da6727884
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue