diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-05-31 14:43:19 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-05-31 14:55:46 -0400 |
commit | 83e0695b61236e5f802c50f01b0b69ba54159688 (patch) | |
tree | 3ffa1179835c710fab571782c9f61e559ae33da0 /src/tests | |
parent | e10f7f6f7758c35bd6740399e724043680a60005 (diff) |
Fix test
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_example_diffs.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs index dcca092a..43b94680 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -247,11 +247,11 @@ commit 94907c0f136f46dc46ffae2dc92dca9af7eb7c2e GIT_DIFF_SINGLE_HUNK_WITH_ANSI_ESCAPE_SEQUENCES, options, ); - ansi_test_utils::assert_line_has_style( + ansi_test_utils::assert_line_has_4_bit_color_style( &output, 0, "commit 94907c0f136f46dc46ffae2dc92dca9af7eb7c2e", - "bold red", + "bold 31", &config, ); } @@ -574,11 +574,11 @@ src/align.rs GIT_DIFF_SINGLE_HUNK_WITH_ANSI_ESCAPE_SEQUENCES, options, ); - ansi_test_utils::assert_line_has_style( + ansi_test_utils::assert_line_has_4_bit_color_style( &output, 9, "@@ -71,11 +71,8 @@ impl<'a> Alignment<'a> {", - "bold red", + "bold 31", &config, ); } |