summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-10 13:06:18 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-10 13:06:18 +0000
commit3c7a96bfa2d21336d985ceda544c4ccabafebed5 (patch)
treea6044841f7a6f69bc0f5a2cd897bf125d6327441 /test
parentef2c94bc39ef1619c2c25b7eb9acaf2d4cb5bba0 (diff)
* test/ruby/test_file_exhaustive.rb (test_lchmod): merge mistake of r55347.
(cf. [Backport #12340]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 5197ddb04e..5296eb01fd 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -459,7 +459,7 @@ class TestFileExhaustive < Test::Unit::TestCase
[@file, @utf8_file].each do |file|
assert_equal(1, File.lchmod(0444, file))
assert_equal(0444, File.stat(file).mode % 01000)
- File.lchmod(0600, regular_file)
+ File.lchmod(0600, file)
end
assert_raise(Errno::ENOENT) { File.lchmod(0600, @nofile) }
rescue NotImplementedError