summaryrefslogtreecommitdiff
path: root/tests/test_ansi.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ansi.py')
-rw-r--r--tests/test_ansi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ansi.py b/tests/test_ansi.py
index 4f7ab652..2382c333 100644
--- a/tests/test_ansi.py
+++ b/tests/test_ansi.py
@@ -17,10 +17,10 @@ def test_strip_style():
assert base_str == ansi.strip_style(ansi_str)
-def test_ansi_safe_wcswidth():
+def test_style_aware_wcswidth():
base_str = HELLO_WORLD
ansi_str = ansi.style(base_str, fg='green')
- assert ansi.ansi_safe_wcswidth(ansi_str) != len(ansi_str)
+ assert ansi.style_aware_wcswidth(ansi_str) != len(ansi_str)
def test_style_none():