Skip to content

Commit aa23571

Browse files
committed
gofmt
1 parent de35ac7 commit aa23571

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

combinations_test.go

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,50 +21,50 @@ func TestStringCombinations(t *testing.T) {
2121
name: "Single item",
2222
in: []string{"A"},
2323
out: [][]string{
24-
[]string{"A"},
24+
{"A"},
2525
},
2626
},
2727
{
2828
name: "Two items",
2929
in: []string{"A", "B"},
3030
out: [][]string{
31-
[]string{"A"},
32-
[]string{"B"},
33-
[]string{"A", "B"},
31+
{"A"},
32+
{"B"},
33+
{"A", "B"},
3434
},
3535
},
3636
{
3737
name: "Three items",
3838
in: []string{"A", "B", "C"},
3939
out: [][]string{
40-
[]string{"A"},
41-
[]string{"B"},
42-
[]string{"A", "B"},
43-
[]string{"C"},
44-
[]string{"A", "C"},
45-
[]string{"B", "C"},
46-
[]string{"A", "B", "C"},
40+
{"A"},
41+
{"B"},
42+
{"A", "B"},
43+
{"C"},
44+
{"A", "C"},
45+
{"B", "C"},
46+
{"A", "B", "C"},
4747
},
4848
},
4949
{
5050
name: "Four items",
5151
in: []string{"A", "B", "C", "D"},
5252
out: [][]string{
53-
[]string{"A"},
54-
[]string{"B"},
55-
[]string{"A", "B"},
56-
[]string{"C"},
57-
[]string{"A", "C"},
58-
[]string{"B", "C"},
59-
[]string{"A", "B", "C"},
60-
[]string{"D"},
61-
[]string{"A", "D"},
62-
[]string{"B", "D"},
63-
[]string{"A", "B", "D"},
64-
[]string{"C", "D"},
65-
[]string{"A", "C", "D"},
66-
[]string{"B", "C", "D"},
67-
[]string{"A", "B", "C", "D"},
53+
{"A"},
54+
{"B"},
55+
{"A", "B"},
56+
{"C"},
57+
{"A", "C"},
58+
{"B", "C"},
59+
{"A", "B", "C"},
60+
{"D"},
61+
{"A", "D"},
62+
{"B", "D"},
63+
{"A", "B", "D"},
64+
{"C", "D"},
65+
{"A", "C", "D"},
66+
{"B", "C", "D"},
67+
{"A", "B", "C", "D"},
6868
},
6969
},
7070
}

0 commit comments

Comments
 (0)