summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-10-05 17:44:37 -0700
committerDavid Lord <davidism@gmail.com>2021-10-05 17:44:37 -0700
commit655918a61e22cade722dacb9bf798e86b13093af (patch)
tree16ab8bf712f8de446bdeb7860d99e69b92bfc8fc /tests
parente8e4b32f5034b8e6df9f4d5ba7ed952da9394a76 (diff)
parent3e88d3dcadbe357c90059bbaeb691f4a2d20d9e6 (diff)
downloadclick-655918a61e22cade722dacb9bf798e86b13093af.tar.gz
Merge branch '8.0.x'
Diffstat (limited to 'tests')
-rw-r--r--tests/test_utils.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 23b3709..d21b246 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -67,11 +67,19 @@ def test_echo_custom_file():
({"bold": True}, "\x1b[1mx y\x1b[0m"),
({"dim": True}, "\x1b[2mx y\x1b[0m"),
({"underline": True}, "\x1b[4mx y\x1b[0m"),
- ({"overline": True}, "\x1b[55mx y\x1b[0m"),
- ({"italic": True}, "\x1b[23mx y\x1b[0m"),
+ ({"overline": True}, "\x1b[53mx y\x1b[0m"),
+ ({"italic": True}, "\x1b[3mx y\x1b[0m"),
({"blink": True}, "\x1b[5mx y\x1b[0m"),
({"reverse": True}, "\x1b[7mx y\x1b[0m"),
({"strikethrough": True}, "\x1b[9mx y\x1b[0m"),
+ ({"bold": False}, "\x1b[22mx y\x1b[0m"),
+ ({"dim": False}, "\x1b[22mx y\x1b[0m"),
+ ({"underline": False}, "\x1b[24mx y\x1b[0m"),
+ ({"overline": False}, "\x1b[55mx y\x1b[0m"),
+ ({"italic": False}, "\x1b[23mx y\x1b[0m"),
+ ({"blink": False}, "\x1b[25mx y\x1b[0m"),
+ ({"reverse": False}, "\x1b[27mx y\x1b[0m"),
+ ({"strikethrough": False}, "\x1b[29mx y\x1b[0m"),
({"fg": "black", "reset": False}, "\x1b[30mx y"),
],
)