зеркало из https://github.com/github/ruby.git
test_file.rb: just skip assertion
* test/ruby/test_file.rb (TestFile#test_stat): skip an assertion only, not making the entire test skipped git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
76f0998450
Коммит
ebba8297bb
|
@ -334,8 +334,10 @@ class TestFile < Test::Unit::TestCase
|
|||
if stat.birthtime != stat.ctime
|
||||
assert_in_delta t0+4, stat.ctime.to_f, delta
|
||||
end
|
||||
skip "Windows delays updating atime" if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
assert_in_delta t0+6, stat.atime.to_f, delta
|
||||
unless /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
# Windows delays updating atime
|
||||
assert_in_delta t0+6, stat.atime.to_f, delta
|
||||
end
|
||||
}
|
||||
rescue NotImplementedError
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче