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

Unit tests do not run with go1.15 due to vet warnings #38

Open
gammazero opened this issue Nov 20, 2020 · 0 comments
Open

Unit tests do not run with go1.15 due to vet warnings #38

gammazero opened this issue Nov 20, 2020 · 0 comments

Comments

@gammazero
Copy link
Contributor

When using go1.15, tests work when running with go test -vet=off, but when running go test or go vet the following appears:

# github.com/multiformats/go-multibase
./multibase.go:87:10: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./multibase_test.go:27:21: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./multibase_test.go:94:23: conversion from Encoding (int) to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./multibase_test.go:99:22: conversion from Encoding (int) to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./multibase_test.go:104:22: conversion from Encoding (int) to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./multibase_test.go:109:22: conversion from Encoding (int) to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
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