diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-12-26 23:39:12 +0000 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-12-26 23:39:12 +0000 |
commit | 2b140ae8d2572377816b4b591a66e61d8f630c4b (patch) | |
tree | bda93ec5795b28cdf6e74a531e64b9944a95ed11 | |
parent | 36d8eae6b780c3372b023ac8b256f0f0065ae495 (diff) |
Strengthen test
-rw-r--r-- | src/tests/test_example_diffs.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs index 72c4c5f0..8049b01e 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -1015,6 +1015,8 @@ src/align.rs "yellow", "--hunk-header-style", "file red", + "--hunk-header-decoration-style", + "box", ]); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); @@ -1026,7 +1028,14 @@ src/align.rs &config, ); let output = strip_ansi_codes(&output); - assert!(output.contains("src/align.rs: impl<'a> Alignment<'a> {")); + assert!(output.contains( + " +───────────────────────────────────────┐ +src/align.rs: impl<'a> Alignment<'a> { │ +───────────────────────────────────────┘ +" + )); + } } #[test] |