diff --git a/tests/test_shtab.py b/tests/test_shtab.py index 6667f0e..de23513 100644 --- a/tests/test_shtab.py +++ b/tests/test_shtab.py @@ -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 \\"]