format code (#312)

master
Kevin Wan 4 years ago committed by GitHub
parent 08433d7e04
commit ba4bac3a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
.gitignore vendored

@ -4,6 +4,7 @@
# Unignore all with extensions # Unignore all with extensions
!*.* !*.*
!**/Dockerfile !**/Dockerfile
!**/Makefile
# Unignore all dirs # Unignore all dirs
!*/ !*/
@ -12,7 +13,6 @@
.idea .idea
**/.DS_Store **/.DS_Store
**/logs **/logs
!Makefile
# gitlab ci # gitlab ci
.cache .cache

@ -33,7 +33,7 @@ func TestConfigJson(t *testing.T) {
var val struct { var val struct {
A string `json:"a"` A string `json:"a"`
B int `json:"b"` B int `json:"b"`
C string `json:"c"` C string `json:"c"`
} }
MustLoad(tmpfile, &val) MustLoad(tmpfile, &val)
assert.Equal(t, "foo", val.A) assert.Equal(t, "foo", val.A)

Loading…
Cancel
Save