ruby-changes:40243
From: nobu <ko1@a...>
Date: Wed, 28 Oct 2015 17:01:55 +0900 (JST)
Subject: [ruby-changes:40243] nobu:r52324 (trunk): test_file.rb: fix name clash
nobu 2015-10-28 17:01:48 +0900 (Wed, 28 Oct 2015) New Revision: 52324 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52324 Log: 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. Modified files: trunk/test/ruby/test_file.rb Index: test/ruby/test_file.rb =================================================================== --- test/ruby/test_file.rb (revision 52323) +++ test/ruby/test_file.rb (revision 52324) @@ -266,7 +266,7 @@ class TestFile < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file.rb#L266 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/