summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Martin <evan.martin@gmail.com>2023-11-05 09:51:59 -0800
committerEvan Martin <evan.martin@gmail.com>2023-11-05 09:51:59 -0800
commit593a81a0a4b3f51a957d5557e0a0aa6b08fa0402 (patch)
tree19406e4346961ae530197bdbf1066daad9b96cbf
parentdc8e3c917c99d49721cbf89cbbe4eaa257ce4021 (diff)
downloadn2-593a81a0a4b3f51a957d5557e0a0aa6b08fa0402.tar.gz
drop log to fix test
-rw-r--r--src/run.rs2
-rw-r--r--tests/e2e/basic.rs5
2 files changed, 1 insertions, 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(())
}