mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_file_exhaustive.rb: fix arguments order
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
23c86d84e6
commit
d52ef7541f
1 changed files with 5 additions and 5 deletions
|
@ -651,11 +651,11 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
return unless symlinkfile
|
||||
t = Time.local(2000)
|
||||
stat = File.lstat(symlinkfile)
|
||||
assert_equal(File.utime(t, t, symlinkfile), 1)
|
||||
assert_equal(File.stat(regular_file).atime, t)
|
||||
assert_equal(File.stat(regular_file).mtime, t)
|
||||
assert_equal(File.lstat(symlinkfile).atime, stat.atime)
|
||||
assert_equal(File.lstat(symlinkfile).mtime, stat.mtime)
|
||||
assert_equal(1, File.utime(t, t, symlinkfile))
|
||||
assert_equal(t, File.stat(regular_file).atime)
|
||||
assert_equal(t, File.stat(regular_file).mtime)
|
||||
assert_equal(stat.atime, File.lstat(symlinkfile).atime)
|
||||
assert_equal(stat.mtime, File.lstat(symlinkfile).mtime)
|
||||
end
|
||||
|
||||
def test_lutime
|
||||
|
|
Loading…
Reference in a new issue