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

Format strings in test file are invalid #12

Closed
maja42 opened this issue Sep 6, 2017 · 1 comment
Closed

Format strings in test file are invalid #12

maja42 opened this issue Sep 6, 2017 · 1 comment

Comments

@maja42
Copy link

maja42 commented Sep 6, 2017

When running the go vet tool on the test cases, the following problems are being reported:

deepcopy_test.go:978: arg copyB.Epsilon[k] for printf verb %d of wrong type: *utils.Bar
deepcopy_test.go:982: arg v for printf verb %d of wrong type: *utils.Bar
deepcopy_test.go:986: arg copyB.Epsilon[k].Beta for printf verb %d of wrong type: string
deepcopy_test.go:989: missing argument for Errorf("%d"): format reads arg 3, have only 2 args
deepcopy_test.go:995: arg copyB.Epsilon[k].Delta for printf verb %d of wrong type: *utils.Foo
deepcopy_test.go:1002: arg v.Delta.Alpha for printf verb %d of wrong type: string
deepcopy_test.go:1042: possible formatting directive in Error call
@mohae
Copy link
Owner

mohae commented Sep 29, 2017

Thanks for pointing this out.

Fixed with commit c48cc78.

@mohae mohae closed this as completed Sep 29, 2017
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

2 participants