Skip to content

Commit

Permalink
Add expected result for test_text_width in the case where unicode-wid…
Browse files Browse the repository at this point in the history
…th is enabled and strip-ansi-escapes is not.
  • Loading branch information
Peter Michael Green committed Sep 4, 2021
1 parent fa487a2 commit 4c9a583
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,8 @@ fn test_text_width() {
measure_text_width(&s),
if cfg!(feature = "ansi-parsing") {
3
} else if cfg!(feature = "unicode-width") {
17
} else {
21
}
Expand Down

0 comments on commit 4c9a583

Please sign in to comment.