diff --git a/src/tests.rs b/src/tests.rs index 7238619..e07c5e6 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -352,17 +352,17 @@ fn run_order() { let tmp = tempdir::TempDir::new("run_order").unwrap_or_else(|err| panic!("tmpdir: failed to create temporary directory: {}", err)); let path = tmp.path().to_str().unwrap_or_else(|| panic!("tmpdir: path was not valid UTF-8")).to_owned(); let text = r" -a: - @touch a - b: a @mv a b -c: b - @mv b c +a: + @touch a d: c @rm c + +c: b + @mv b c "; super::std::env::set_current_dir(path).expect("failed to set current directory"); parse_success(text).run(&["a", "d"]).unwrap();