Skip to content

Commit

Permalink
drop log to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
evmar committed Nov 5, 2023
1 parent dc8e3c9 commit 593a81a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
}

Expand Down
5 changes: 1 addition & 4 deletions tests/e2e/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

Expand Down

0 comments on commit 593a81a

Please sign in to comment.