From 12f92f884e79098d4e9e9e8a71e4aaa7212deda4 Mon Sep 17 00:00:00 2001 From: Erik Kemperman Date: Tue, 28 Jun 2016 23:26:29 +0200 Subject: [PATCH] Fix: Increase offset in futimes test timestamps (#176) --- test/dest-times.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dest-times.js b/test/dest-times.js index 9d69100a..5829e845 100644 --- a/test/dest-times.js +++ b/test/dest-times.js @@ -37,7 +37,7 @@ describe('.dest() with custom times', function() { var inputBase = path.join(__dirname, './fixtures/'); var expectedPath = path.join(__dirname, './out-fixtures/test.coffee'); var expectedContents = fs.readFileSync(inputPath); - var earlier = Date.now() - 1000; + var earlier = Date.now() - 1001; var futimesSpy = expect.spyOn(fs, 'futimes').andCallThrough(); @@ -113,7 +113,7 @@ describe('.dest() with custom times', function() { var inputBase = path.join(__dirname, './fixtures/'); var expectedPath = path.join(__dirname, './out-fixtures/test.coffee'); var expectedContents = fs.readFileSync(inputPath); - var earlier = Date.now() - 1000; + var earlier = Date.now() - 1001; var futimesSpy = expect.spyOn(fs, 'futimes').andCallThrough();