Skip to content

Commit 03824bd

Browse files
committed
fix test
1 parent b4b6b03 commit 03824bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_shtab.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ def test_positional_choices(shell, caplog):
102102

103103
if shell == "bash":
104104
shell = Bash(completion)
105-
# ideally should check completion
106-
# https://github.com/iterative/shtab/issues/11
107-
shell.compgen('-W "$_shtab_test_options_"', "", "-h --help")
105+
shell.compgen('-W "$_shtab_test_commands_"', "o", "one")
108106

109107
assert not caplog.record_tuples

0 commit comments

Comments
 (0)