mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
Fix indent with go fmt (#531)
Co-authored-by: sinozu <sinozu@users.noreply.github.com>
This commit is contained in:
parent
4a63f2672b
commit
3e1f255c1d
1 changed files with 7 additions and 8 deletions
|
@ -25,16 +25,15 @@ func TestCartesianProduct(t *testing.T) {
|
||||||
assert.Contains(v, "baz")
|
assert.Contains(v, "baz")
|
||||||
}
|
}
|
||||||
|
|
||||||
input = map[string][]interface{}{
|
input = map[string][]interface{}{
|
||||||
"foo": {1, 2, 3, 4},
|
"foo": {1, 2, 3, 4},
|
||||||
"bar": {},
|
"bar": {},
|
||||||
"baz": {false, true},
|
"baz": {false, true},
|
||||||
}
|
}
|
||||||
output = CartesianProduct(input)
|
output = CartesianProduct(input)
|
||||||
assert.Len(output, 0)
|
assert.Len(output, 0)
|
||||||
|
|
||||||
input = map[string][]interface{}{}
|
input = map[string][]interface{}{}
|
||||||
output = CartesianProduct(input)
|
output = CartesianProduct(input)
|
||||||
assert.Len(output, 0)
|
assert.Len(output, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue