Skip to content

Commit eea9202

Browse files
committed
Be more tolerant in File.mtime spec
1 parent 587b0ec commit eea9202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ruby/core/file/mtime_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
it "returns the modification Time of the file" do
1414
File.mtime(@filename).should be_kind_of(Time)
15-
File.mtime(@filename).should be_close(@mtime, 2.0)
15+
File.mtime(@filename).should be_close(@mtime, 60.0)
1616
end
1717

1818
guard -> { platform_is :linux or (platform_is :windows and ruby_version_is '2.5') } do

0 commit comments

Comments
 (0)