1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

File#lchmod test removed because the method is not exist.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-05-06 00:02:01 +00:00
parent 786e7aba7f
commit 4500a5207d

View file

@ -309,8 +309,6 @@ class TestFileExhaustive < Test::Unit::TestCase
return if /(mswin|bccwin|mingw|emx)/ =~ RUBY_PLATFORM
assert_equal(1, File.lchmod(0444, @file))
assert_equal(0444, File.stat(@file).mode % 01000)
assert_equal(0, File.new(@file).lchmod(0222))
assert_equal(0222, File.stat(@file).mode % 01000)
File.lchmod(0600, @file)
assert_raise(Errno::ENOENT) { File.lchmod(0600, @nofile) }
rescue NotImplementedError