зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
29de8ed499
Коммит
aed411d561
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче