2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-04 05:32:01 +08:00

Simplify code with gofmt -s

This commit is contained in:
Ken Hibino
2020-03-13 14:18:18 -07:00
parent 516f95edff
commit 9c79a7d507
2 changed files with 22 additions and 22 deletions

View File

@@ -20,8 +20,8 @@ func TestPayloadGet(t *testing.T) {
user := map[string]interface{}{"name": "Ken", "score": 3.14}
location := map[string]string{"address": "123 Main St.", "state": "NY", "zipcode": "10002"}
favs := map[string][]string{
"movies": []string{"forrest gump", "star wars"},
"tv_shows": []string{"game of thrones", "HIMYM", "breaking bad"},
"movies": {"forrest gump", "star wars"},
"tv_shows": {"game of thrones", "HIMYM", "breaking bad"},
}
counter := map[string]int{
"a": 1,
@@ -138,8 +138,8 @@ func TestPayloadGetWithMarshaling(t *testing.T) {
user := map[string]interface{}{"name": "Ken", "score": 3.14}
location := map[string]string{"address": "123 Main St.", "state": "NY", "zipcode": "10002"}
favs := map[string][]string{
"movies": []string{"forrest gump", "star wars"},
"tv_shows": []string{"game of throwns", "HIMYM", "breaking bad"},
"movies": {"forrest gump", "star wars"},
"tv_shows": {"game of throwns", "HIMYM", "breaking bad"},
}
counter := map[string]int{
"a": 1,