summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 07:06:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 07:06:34 +0000
commitaed411d561d41c9687453210c20c4f57815534ac (patch)
treef6d9494c7a6b94c6728bb24feb4f8f4e255fb376 /test
parent29de8ed4992912573402be0bf52b9d84ec3bc1fd (diff)
reorder invocations in test_stat_init.
This doesn't change actual behavior because hardlinkfile invokes regular_file. This change make it more explicit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50227 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 6027f46243..ba4f1e6183 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -1093,9 +1093,9 @@ class TestFileExhaustive < Test::Unit::TestCase
end
def test_stat_init
+ fn1 = regular_file
hardlinkfile
sleep(1.1)
- fn1 = regular_file
fn2 = regular_file + "2"
make_file("foo", fn2)
fs1, fs2 = File::Stat.new(fn1), File::Stat.new(fn2)