aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/file/mtime_spec.rb
diff options
context:
space:
mode:
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 d5769c0584..c5d854bb08 100644
--- a/spec/ruby/core/file/mtime_spec.rb
+++ b/spec/ruby/core/file/mtime_spec.rb
@@ -12,7 +12,7 @@ describe "File.mtime" do
it "returns the modification Time of the file" do
File.mtime(@filename).should be_kind_of(Time)
- File.mtime(@filename).should be_close(@mtime, 2.0)
+ File.mtime(@filename).should be_close(@mtime, 60.0)
end
guard -> { platform_is :linux or (platform_is :windows and ruby_version_is '2.5') } do