From aed411d561d41c9687453210c20c4f57815534ac Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 11 Apr 2015 07:06:34 +0000 Subject: [PATCH] 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 --- test/ruby/test_file_exhaustive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)