Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 31, 2024
1 parent 75232a6 commit 6b3c4f3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_shtab.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ def test_prog_scripts(shell, caplog, capsys):
assert script_py == ["complete -o filenames -F _shtab_shtab script.py"]
elif shell == "zsh":
assert script_py == [
"#compdef script.py",
"_describe 'script.py commands' _commands",
"_shtab_shtab_options+=(': :_shtab_shtab_commands' '*::: :->script.py')",
"script.py)",
"#compdef script.py", "_describe 'script.py commands' _commands",
"_shtab_shtab_options+=(': :_shtab_shtab_commands' '*::: :->script.py')", "script.py)",
"compdef _shtab_shtab -N script.py"]
elif shell == "tcsh":
assert script_py == ["complete script.py \\"]
Expand Down

0 comments on commit 6b3c4f3

Please sign in to comment.