Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal call has possible formatting directive error #18

Open
xiyunl opened this issue Jun 21, 2018 · 0 comments
Open

Fatal call has possible formatting directive error #18

xiyunl opened this issue Jun 21, 2018 · 0 comments

Comments

@xiyunl
Copy link

xiyunl commented Jun 21, 2018

t.Fatal("len is not 2. got: %v", len(ares))

Got errors when building a package with jsonpath lib:
/github.com/oliveagle/jsonpath/jsonpath_test.go:1182: Fatal call has possible formatting directive %v
/github.com/oliveagle/jsonpath/jsonpath_test.go:1185: Fatal call has possible formatting directive %v
/github.com/oliveagle/jsonpath/jsonpath_test.go:1188: Fatal call has possible formatting directive %v
/github.com/oliveagle/jsonpath/jsonpath_test.go:1235: Fatal call has possible formatting directive %v

t.Fatal should be t.Fatalf for above lines.
My go version is 1.10.2 and it works fine with version 1.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant