aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/file/mtime_spec.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-08 19:43:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-01 15:36:20 +0900
commit826f44834fe11f3f9c52343443a15b6c83466889 (patch)
treef2c2abed62db1c750515cd8b0fbac6442b6d4200 /spec/ruby/core/file/mtime_spec.rb
parent3a2073e61b6ccce6d07d31ebd89d4c385b9a55f2 (diff)
downloadruby-826f44834fe11f3f9c52343443a15b6c83466889.tar.gz
Drop support for ruby 2.4 from ruby/spec
Diffstat (limited to 'spec/ruby/core/file/mtime_spec.rb')
-rw-r--r--spec/ruby/core/file/mtime_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/mtime_spec.rb b/spec/ruby/core/file/mtime_spec.rb
index 1941e2ff85..02f6fc4637 100644
--- a/spec/ruby/core/file/mtime_spec.rb
+++ b/spec/ruby/core/file/mtime_spec.rb
@@ -15,7 +15,7 @@ describe "File.mtime" do
File.mtime(@filename).should be_close(@mtime, TIME_TOLERANCE)
end
- guard -> { platform_is :linux or (platform_is :windows and ruby_version_is '2.5') } do
+ guard -> { platform_is :linux or platform_is :windows } do
it "returns the modification Time of the file with microseconds" do
supports_subseconds = Integer(`stat -c%y '#{__FILE__}'`[/\.(\d+)/, 1], 10)
if supports_subseconds != 0