From d52ef7541f7dcf2965be1d9ed4c7885ae9284ce7 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 Dec 2017 06:24:16 +0000 Subject: [PATCH] test_file_exhaustive.rb: fix arguments order git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_file_exhaustive.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 6f2fbb1bd2..031499b448 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -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