Skip to content

Commit c93fa7f

Browse files
committed
Expect at least one space
1 parent 40716a4 commit c93fa7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_help.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ def custom_help():
2424

2525
def test_default_help():
2626
result = CliRunner().invoke(default, ["--help"])
27-
assert re.search(r"tui\s*Open Textual TUI", result.output) is not None
27+
assert re.search(r"tui\s+Open Textual TUI", result.output) is not None
2828

2929

3030
def test_custom_command():
3131
result = CliRunner().invoke(custom_command, ["--help"])
32-
assert re.search(r"custom\s*Open Textual TUI", result.output) is not None
32+
assert re.search(r"custom\s+Open Textual TUI", result.output) is not None
3333

3434

3535
def test_custom_help():
3636
result = CliRunner().invoke(custom_help, ["--help"])
37-
assert re.search(r"tui\s*Custom help", result.output) is not None
37+
assert re.search(r"tui\s+Custom help", result.output) is not None

0 commit comments

Comments
 (0)