summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)