From 4c9a583301c9a3683224e5ab32bad1b7271cf403 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Sat, 4 Sep 2021 19:42:56 +0000 Subject: [PATCH] Add expected result for test_text_width in the case where unicode-width is enabled and strip-ansi-escapes is not. --- src/utils.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.rs b/src/utils.rs index 9c584903..d9cbee87 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -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 }