[lang-ref] ( init_array_ignores_last_separator ) ( bash )
@test "init array ignores last separator" {
# Yes
declare -a items=(1 2 3 4 5 )
[ ${#items[@]} -eq 5 ]
}
@test "init array ignores last separator" {
# Yes
declare -a items=(1 2 3 4 5 )
[ ${#items[@]} -eq 5 ]
}