diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-29 00:22:52 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-29 00:22:52 +0000 |
commit | 2076c2c3c401d9ab9324468818bbc46d4e4b870a (patch) | |
tree | 1697bf7d3f434e49cafd8a8c1579f2d065a7de56 /spec/ruby/core/file/atime_spec.rb | |
parent | 548defb608847973e78462a38c8418f90dce9911 (diff) |
Update to ruby/spec@944ea57
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/file/atime_spec.rb')
-rw-r--r-- | spec/ruby/core/file/atime_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/atime_spec.rb b/spec/ruby/core/file/atime_spec.rb index d4106c0411..c791aa6d74 100644 --- a/spec/ruby/core/file/atime_spec.rb +++ b/spec/ruby/core/file/atime_spec.rb @@ -15,7 +15,7 @@ describe "File.atime" do File.atime(@file).should be_kind_of(Time) end - platform_is :linux do + guard -> { platform_is :linux or (platform_is :windows and ruby_version_is '2.5') } do ## NOTE also that some Linux systems disable atime (e.g. via mount params) for better filesystem speed. it "returns the last access time for the named file with microseconds" do supports_subseconds = Integer(`stat -c%x '#{__FILE__}'`[/\.(\d+)/, 1], 10) |