From 593a81a0a4b3f51a957d5557e0a0aa6b08fa0402 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sun, 5 Nov 2023 09:51:59 -0800 Subject: [PATCH] drop log to fix test --- src/run.rs | 2 -- tests/e2e/basic.rs | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) 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(()) }