ruby-changes:38146
From: akr <ko1@a...>
Date: Sat, 11 Apr 2015 16:06:44 +0900 (JST)
Subject: [ruby-changes:38146] akr:r50227 (trunk): reorder invocations in test_stat_init.
akr 2015-04-11 16:06:34 +0900 (Sat, 11 Apr 2015) New Revision: 50227 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50227 Log: reorder invocations in test_stat_init. This doesn't change actual behavior because hardlinkfile invokes regular_file. This change make it more explicit. Modified files: trunk/test/ruby/test_file_exhaustive.rb Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 50226) +++ test/ruby/test_file_exhaustive.rb (revision 50227) @@ -1093,9 +1093,9 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1093 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/