Skip to content

Commit 3fd8376

Browse files
authored
Use correct zero-width space character (#3508)
## Changes The previous character (\u200c) is a zero-width non-joiner and renders incorrectly in some terminals. Also see: * https://en.wikipedia.org/wiki/Zero-width_space * https://en.wikipedia.org/wiki/Zero-width_non-joiner
1 parent 22ffe8e commit 3fd8376

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/gh_parse.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
# Total number of environments expected
1616
TOTAL_ENVS = 10
1717

18-
# \u200c is zero-width space. It is added so that len of the string corresponds to real width.
18+
# \u200b is zero-width space. It is added so that len of the string corresponds to real width.
1919
# ❌, ✅, 🔄 each take space of 2 characters.
20-
FLAKY = "🔄\u200cflaky"
21-
FAIL = "❌\u200cFAIL"
22-
PASS = "✅\u200cpass"
23-
SKIP = "🙈\u200cskip"
20+
FLAKY = "🔄\u200bflaky"
21+
FAIL = "❌\u200bFAIL"
22+
PASS = "✅\u200bpass"
23+
SKIP = "🙈\u200bskip"
2424

2525
# FAIL is replaced with BUG when test fails in all environments (and when we have >=TOTAL_ENVS-1 environments)
2626
# This indicate that it's very likely that PR did broke this test rather than environment being flaky.
27-
BUG = "🪲\u200cBUG"
27+
BUG = "🪲\u200bBUG"
2828

2929
# This happens when Eventually is used - there is output for the test but no result.
30-
MISSING = "🤯\u200cMISS"
31-
PANIC = "💥\u200cPANIC"
30+
MISSING = "🤯\u200bMISS"
31+
PANIC = "💥\u200bPANIC"
3232

3333
INTERESTING_ACTIONS = (FAIL, BUG, FLAKY, PANIC, MISSING)
3434
ACTIONS_WITH_ICON = INTERESTING_ACTIONS + (PASS, SKIP)

0 commit comments

Comments
 (0)