Skip to content

Commit

Permalink
dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
th1000s committed Jul 10, 2024
1 parent f929881 commit c8cc63d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/test_example_diffs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1996,12 +1996,14 @@ src/align.rs:71: impl<'a> Alignment<'a> { │

#[test]
fn test_lines_with_syntax_width_limit() {
eprintln!("{}", GIT_DIFF_SINGLE_HUNK);
let result = DeltaTest::with_args(&[
"--max-line-length=42",
"--max-syntax-highlighting-length=18",
])
.explain_ansi()
.with_input(GIT_DIFF_SINGLE_HUNK);
eprintln!("{}", result.raw_output);
assert_snapshot!(result.output, @r###"
(normal)commit 94907c0f136f46dc46ffae2dc92dca9af7(reverse normal)→(normal)
Author: Dan Davison <dandavison7@gmail.co(reverse normal)→(normal)
Expand Down

0 comments on commit c8cc63d

Please sign in to comment.