diff --git a/act/common/cartesian_test.go b/act/common/cartesian_test.go index 69a6e4e5..c49de06c 100644 --- a/act/common/cartesian_test.go +++ b/act/common/cartesian_test.go @@ -25,16 +25,15 @@ func TestCartesianProduct(t *testing.T) { assert.Contains(v, "baz") } - input = map[string][]interface{}{ + input = map[string][]interface{}{ "foo": {1, 2, 3, 4}, "bar": {}, "baz": {false, true}, - } - output = CartesianProduct(input) - assert.Len(output, 0) + } + output = CartesianProduct(input) + assert.Len(output, 0) - input = map[string][]interface{}{} - output = CartesianProduct(input) - assert.Len(output, 0) + input = map[string][]interface{}{} + output = CartesianProduct(input) + assert.Len(output, 0) } -