Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Dec 10, 2018
1 parent de35ac7 commit aa23571
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions combinations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,50 +21,50 @@ func TestStringCombinations(t *testing.T) {
name: "Single item",
in: []string{"A"},
out: [][]string{
[]string{"A"},
{"A"},
},
},
{
name: "Two items",
in: []string{"A", "B"},
out: [][]string{
[]string{"A"},
[]string{"B"},
[]string{"A", "B"},
{"A"},
{"B"},
{"A", "B"},
},
},
{
name: "Three items",
in: []string{"A", "B", "C"},
out: [][]string{
[]string{"A"},
[]string{"B"},
[]string{"A", "B"},
[]string{"C"},
[]string{"A", "C"},
[]string{"B", "C"},
[]string{"A", "B", "C"},
{"A"},
{"B"},
{"A", "B"},
{"C"},
{"A", "C"},
{"B", "C"},
{"A", "B", "C"},
},
},
{
name: "Four items",
in: []string{"A", "B", "C", "D"},
out: [][]string{
[]string{"A"},
[]string{"B"},
[]string{"A", "B"},
[]string{"C"},
[]string{"A", "C"},
[]string{"B", "C"},
[]string{"A", "B", "C"},
[]string{"D"},
[]string{"A", "D"},
[]string{"B", "D"},
[]string{"A", "B", "D"},
[]string{"C", "D"},
[]string{"A", "C", "D"},
[]string{"B", "C", "D"},
[]string{"A", "B", "C", "D"},
{"A"},
{"B"},
{"A", "B"},
{"C"},
{"A", "C"},
{"B", "C"},
{"A", "B", "C"},
{"D"},
{"A", "D"},
{"B", "D"},
{"A", "B", "D"},
{"C", "D"},
{"A", "C", "D"},
{"B", "C", "D"},
{"A", "B", "C", "D"},
},
},
}
Expand Down

0 comments on commit aa23571

Please sign in to comment.