diff options
author | Evan Martin <evan.martin@gmail.com> | 2023-11-05 09:51:59 -0800 |
---|---|---|
committer | Evan Martin <evan.martin@gmail.com> | 2023-11-05 09:51:59 -0800 |
commit | 593a81a0a4b3f51a957d5557e0a0aa6b08fa0402 (patch) | |
tree | 19406e4346961ae530197bdbf1066daad9b96cbf | |
parent | dc8e3c917c99d49721cbf89cbbe4eaa257ce4021 (diff) | |
download | n2-593a81a0a4b3f51a957d5557e0a0aa6b08fa0402.tar.gz |
drop log to fix test
-rw-r--r-- | src/run.rs | 2 | ||||
-rw-r--r-- | tests/e2e/basic.rs | 5 |
2 files changed, 1 insertions, 6 deletions
@@ -77,8 +77,6 @@ fn build( work.want_file(target)?; } } else { - work.progress - .log("no path specified and no default target; building everything"); work.want_every_file(build_file_target)?; } diff --git a/tests/e2e/basic.rs b/tests/e2e/basic.rs index 4e9b310..077d448 100644 --- a/tests/e2e/basic.rs +++ b/tests/e2e/basic.rs @@ -5,10 +5,7 @@ fn empty_file() -> anyhow::Result<()> { let space = TestSpace::new()?; space.write("build.ninja", "")?; let out = space.run(&mut n2_command(vec![]))?; - assert_eq!( - std::str::from_utf8(&out.stdout)?, - "no path specified and no default target; building everything\n" - ); + assert_eq!(std::str::from_utf8(&out.stdout)?, "n2: no work to do\n"); Ok(()) } |