summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-20 08:19:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-20 08:19:48 +0000
commitebba8297bb754ff9b7c5a187759d831045769c09 (patch)
tree4f7819a3a03eceea2a61b59a8d886634ce8e7dc6 /test
parent76f099845020f04d58075f0984d293718997f7f7 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file.rb6
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