Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Fix test on Windows. See https://github.com/nodejs/node/issues/5561 #48

Merged
merged 1 commit into from
Sep 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe("compile", function() {
var file_to_update = path.resolve(path.join(config.contracts_directory, "MetaCoin.sol"));

// Update the modification time to simulate an edit.
var newTime = new Date().getTime();
var newTime = new Date();
fs.utimesSync(file_to_update, newTime, newTime);

Contracts.compile(config.with({
Expand Down