Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps-sigsci committed Jan 22, 2016
1 parent 5c4df71 commit 782628a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cauchy = "cat 2"
{"cyan", "magenta", "yellow", "black"},
},
My: map[string]cats{
"Cats": cats{Plato: "cat 1", Cauchy: "cat 2"},
"Cats": {Plato: "cat 1", Cauchy: "cat 2"},
},
}
if !reflect.DeepEqual(val, answer) {
Expand Down
2 changes: 1 addition & 1 deletion encode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ ArrayOfMixedSlices = [[1, 2], ["a", "b"]]
"map": map[string]interface{}{
"zero": 5,
"arr": []map[string]int{
map[string]int{
{
"friend": 5,
},
},
Expand Down
2 changes: 1 addition & 1 deletion parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func stripFirstNewline(s string) string {
if len(s) == 0 || s[0] != '\n' {
return s
}
return s[1:len(s)]
return s[1:]
}

func stripEscapedWhitespace(s string) string {
Expand Down

0 comments on commit 782628a

Please sign in to comment.