Fix recompilation test for mac

On macs, mtime has a seconds granularity, so we need to sleep a bit
This commit is contained in:
Aleksey Kladov 2017-02-18 09:34:38 +03:00
parent 73f870c264
commit 3d15df97b4

View file

@ -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(); }