aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-09-16 00:18:26 +0200
committerTeddy Wing2020-09-16 00:18:26 +0200
commite0b78f7f5112bc9c1b5b1e84d5efe65ede63e3d9 (patch)
tree5f36bdda070d343a444c81fe0ff146665aaa1782 /src
parentacda4f6c75ecc52cf2dbabecc6a9f11fa6f34dd8 (diff)
downloadgit-todo-e0b78f7f5112bc9c1b5b1e84d5efe65ede63e3d9.tar.bz2
t/100-shows-todo-comments-since-fork-point.t: Update output
Update the expectation to include the file name and line number plus the exact line content as printed by the command. Remove the extra newline from the output so that now only a single newline is printed.
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6dd3e91..8e818a4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -34,7 +34,7 @@ fn main() {
let l = std::str::from_utf8(line.content()).unwrap();
if l.contains("TODO") {
- println!(
+ print!(
"{}:{}:{}",
delta.new_file().path().unwrap().display(),
line_number,