diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-07-29 23:20:08 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-07-30 18:12:10 -0400 |
commit | f135ad19b0f24b875f5ae3305712da771aeee997 (patch) | |
tree | 1fc9b78c02c5e6d6b1a3a9521099297238cfaf94 /src/tests/test_example_diffs.rs | |
parent | a2e4702359bb1f1b97010d9da2bb75d09a55878d (diff) |
Create ansi module
Diffstat (limited to 'src/tests/test_example_diffs.rs')
-rw-r--r-- | src/tests/test_example_diffs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs index d1392c69..f148ada1 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -2,7 +2,7 @@ mod tests { use console::strip_ansi_codes; - use crate::paint; + use crate::ansi; use crate::style; use crate::tests::ansi_test_utils::ansi_test_utils; use crate::tests::integration_test_utils::integration_test_utils; @@ -1090,7 +1090,7 @@ impl<'a> Alignment<'a> { │ line, &style .ansi_term_style - .paint(paint::ANSI_CSI_CLEAR_TO_EOL) + .paint(ansi::ANSI_CSI_CLEAR_TO_EOL) .to_string() ); } else { @@ -1099,7 +1099,7 @@ impl<'a> Alignment<'a> { │ line, &style .ansi_term_style - .paint(paint::ANSI_CSI_CLEAR_TO_BOL) + .paint(ansi::ANSI_CSI_CLEAR_TO_BOL) .to_string() ); } |