Skip to content

Commit 941e13b

Browse files
committed
storage/utils_test.go: simplified code using gofmt
Signed-off-by: Bill Robinson <[email protected]>
1 parent 8233f67 commit 941e13b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

storage/utils_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ func (s *storageSuite) TestSplitName(c *C) {
1717
}
1818

1919
successes := map[string][]string{
20-
"foo/bar": []string{"foo", "bar"},
21-
"policy-with-dashes/quux": []string{"policy-with-dashes", "quux"},
22-
"policy_with_underscores/quux": []string{"policy_with_underscores", "quux"},
23-
"policy.with.periods/quux": []string{"policy.with.periods", "quux"},
20+
"foo/bar": {"foo", "bar"},
21+
"policy-with-dashes/quux": {"policy-with-dashes", "quux"},
22+
"policy_with_underscores/quux": {"policy_with_underscores", "quux"},
23+
"policy.with.periods/quux": {"policy.with.periods", "quux"},
2424
}
2525

2626
for _, fail := range failures {

0 commit comments

Comments
 (0)