Skip to content

Commit

Permalink
Fix: Increase offset in futimes test timestamps (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkemperman authored and phated committed Nov 28, 2017
1 parent 25a8561 commit f5fdf44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dest-times.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit f5fdf44

Please sign in to comment.