We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c30d625 commit 157cf06Copy full SHA for 157cf06
tests/CollectionItemTest.php
@@ -240,9 +240,10 @@ public function collection_item_page_metadata_contains_modified_time()
240
241
$this->buildSite($files, $config, $pretty = true);
242
243
- $this->assertEquals(
+ $this->assertEqualsWithDelta(
244
$files->getChild('build/collection/page/index.html')->filemtime(),
245
$this->clean($files->getChild('build/collection/page/index.html')->getContent()),
246
+ 1, // allow mtimes to be within 1 second difference
247
);
248
}
249
0 commit comments