diff --git a/src/run.rs b/src/run.rs index 7814448..e84ec26 100644 --- a/src/run.rs +++ b/src/run.rs @@ -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(()) }