gibson042 / canonicaljson-go

Go library for producing JSON in canonical format.
https://godoc.org/github.com/gibson042/canonicaljson-go
Other
20 stars 2 forks source link

./decode_test.go:1235:3: Fatal call has possible formatting directive %v #4

Closed matrey closed 5 years ago

matrey commented 5 years ago

When running go test I got the following error ./decode_test.go:1235:3: Fatal call has possible formatting directive %v

Corresponding code: t.Fatal("expected %v == %v", a, b)

Seems to be enough to use Fatalf instead: t.Fatalf("expected %v == %v", a, b)

gibson042 commented 5 years ago

Thanks!