Skip to content

Commit 1c46b4e

Browse files
committed
fix: initialize arrays for strict mode
1 parent fd60e4d commit 1c46b4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/assert_arrays.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ function assert_arrays_equal() {
66
local label
77
label="$(bashunit::assert::label)"
88

9-
local -a expected_values
10-
local -a actual_values
9+
local -a expected_values=()
10+
local -a actual_values=()
1111
local found_separator=false
1212
local argument
1313

0 commit comments

Comments
 (0)