Skip to content

Commit

Permalink
Fix recompilation test for mac
Browse files Browse the repository at this point in the history
On macs, mtime has a seconds granularity, so we need to sleep a bit
  • Loading branch information
matklad committed Feb 18, 2017
1 parent 73f870c commit 3d15df9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ fn no_rebuild_dependency() {
p.url(),
p.url())));

sleep_ms(1000);
p.change_file("src/foo.rs", r#"
extern crate bar;
fn main() { bar::bar(); }
Expand Down

0 comments on commit 3d15df9

Please sign in to comment.