Skip to content

Commit 3d15df9

Browse files
committed
Fix recompilation test for mac
On macs, mtime has a seconds granularity, so we need to sleep a bit
1 parent 73f870c commit 3d15df9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/path.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ fn no_rebuild_dependency() {
298298
p.url(),
299299
p.url())));
300300

301+
sleep_ms(1000);
301302
p.change_file("src/foo.rs", r#"
302303
extern crate bar;
303304
fn main() { bar::bar(); }

0 commit comments

Comments
 (0)