Skip to content

Commit 594915a

Browse files
committed
Fix shtab unit tests
1 parent d63f085 commit 594915a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/integration/test_command_line.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ def test_in_other_dir(self):
185185
class TestGenerateCompletion(SubprocessTestCase):
186186
def test_completion_bfg9000(self):
187187
output = self.assertPopen(['bfg9000', 'generate-completion', '-sbash'])
188-
self.assertRegex(output, r'(?m)^# AUTOMATICALLY GENERATED by `shtab`')
188+
self.assertRegex(output, r'(?m)^# AUTOMATICALLY GENERATED by .*shtab')
189189

190190
def test_completion_9k(self):
191191
output = self.assertPopen(['bfg9000', 'generate-completion', '-p9k',
192192
'-sbash'])
193-
self.assertRegex(output, r'(?m)^# AUTOMATICALLY GENERATED by `shtab`')
193+
self.assertRegex(output, r'(?m)^# AUTOMATICALLY GENERATED by .*shtab')
194194

195195
def test_completion_extra_args(self):
196196
output = self.assertPopen(['bfg9000', 'generate-completion', '--foo'],

0 commit comments

Comments
 (0)