Skip to content

Commit 5746e7f

Browse files
committed
Cleaned up broken pattern in a test
1 parent d1e4d50 commit 5746e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ class NoDesc(Tap):
15981598
help_info = root_parser.format_help()
15991599
help_flag = '[-h]'
16001600
desc_start = help_info.index(help_flag) + len(help_flag)
1601-
desc_end = help_info.index('options:')
1601+
desc_end = help_info.index('option')
16021602
desc = help_info[desc_start: desc_end].strip()
16031603
self.assertEqual(desc, '')
16041604

0 commit comments

Comments
 (0)