aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
-rw-r--r--t/100-shows-todo-comments-since-fork-point.t2
2 files changed, 2 insertions, 2 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,
diff --git a/t/100-shows-todo-comments-since-fork-point.t b/t/100-shows-todo-comments-since-fork-point.t
index dd0f161..fbf4f86 100644
--- a/t/100-shows-todo-comments-since-fork-point.t
+++ b/t/100-shows-todo-comments-since-fork-point.t
@@ -37,7 +37,7 @@ system('git commit -m "New TODO"');
ok !$?;
my $todos = qx($BIN);
-is $todos, 'TODO: 100-shows-todo-comments-since-fork-point
+is $todos, 'git-sugdiff.rs:34: // TODO: 100-shows-todo-comments-since-fork-point
';