diff options
author | Balaji Sivaraman <balaji@balajisivaraman.com> | 2018-02-20 17:40:03 +0530 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-02-20 07:10:03 -0500 |
commit | d57fc580818e655e7b0edca2924e259bd5dc02d2 (patch) | |
tree | 677c0ca31cc8f6cdd28ad9e56c50c516e9f0f51a /tests | |
parent | d09538c974194865c79f9a1539cf145fd7e7430c (diff) |
termcolor: add underline support
This commit adds underline support to the termcolor crate, and
exposes it through ripgrep.
Fixes #798
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index 0e144d19..34bf08e4 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1152,7 +1152,8 @@ clean!(regression_428_unrecognized_style, "Sherlok", ".", let output = cmd.output().unwrap(); let err = String::from_utf8_lossy(&output.stderr); let expected = "\ -Unrecognized style attribute ''. Choose from: nobold, bold, nointense, intense. +Unrecognized style attribute ''. Choose from: nobold, bold, nointense, intense, \ +nounderline, underline. "; assert_eq!(err, expected); }); |