Closed matrey closed 5 years ago
When running go test I got the following error ./decode_test.go:1235:3: Fatal call has possible formatting directive %v
go test
./decode_test.go:1235:3: Fatal call has possible formatting directive %v
Corresponding code: t.Fatal("expected %v == %v", a, b)
t.Fatal("expected %v == %v", a, b)
Seems to be enough to use Fatalf instead: t.Fatalf("expected %v == %v", a, b)
t.Fatalf("expected %v == %v", a, b)
Thanks!
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)