diff options
-rw-r--r-- | test/ruby/test_file.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 16b76b71fe..601d19efcd 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -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 |