Skip to content

Commit

Permalink
Delete print statements in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Jul 10, 2020
1 parent 36bf3df commit 045429c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/features/line_numbers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ pub mod tests {
"0 4",
]);
let output = run_delta(TWO_MINUS_LINES_DIFF, &config);
println!("{}", &output);
let mut lines = output.lines().skip(4);
let (line_1, line_2) = (lines.next().unwrap(), lines.next().unwrap());
assert_eq!(strip_ansi_codes(line_1), " 1 ⋮ │a = 1");
Expand Down Expand Up @@ -478,7 +477,6 @@ pub mod tests {
"0 4",
]);
let output = run_delta(ONE_MINUS_ONE_PLUS_LINE_DIFF, &config);
println!("{}", output);
let output = strip_ansi_codes(&output);
let mut lines = output.lines().skip(4);
assert_eq!(lines.next().unwrap(), " 1 1 ⋮ 1 │a = 1");
Expand Down

0 comments on commit 045429c

Please sign in to comment.