Skip to content

Commit c39d2e3

Browse files
committed
test(_comp_compgen_commands): fix with bash 4.2 and nounset mode
1 parent b42b79b commit c39d2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/t/unit/test_unit_compgen_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def functions(self, request, bash):
1212
r"_comp_compgen_commands__test() {"
1313
r" local COMPREPLY=() cur=${1-};"
1414
r" _comp_compgen_commands;"
15-
r' printf "%s\n" "${COMPREPLY[@]}";'
15+
r' printf "%s\n" "${COMPREPLY[@]-}";'
1616
r"}",
1717
)
1818
assert_bash_exec(

0 commit comments

Comments
 (0)