make flakey test more robust (#6277)

Merge pull request 6277
This commit is contained in:
Florian Thomas 2017-08-06 15:49:01 +01:00 committed by jekyllbot
parent 6b1aa4ce01
commit 39631db0bd
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class TestStaticFile < JekyllUnitTest
end
should "know its last modification time" do
assert_equal Time.new.to_i, @static_file.mtime
assert_equal File.stat(@static_file.path).mtime.to_i, @static_file.mtime
end
should "only set modified time if not a symlink" do