barcode icon indicating copy to clipboard operation
barcode copied to clipboard

Tests errors: runeint_test.go:7:3: Errorf format %d has arg string(IntToRune(0)) of wrong type string

Open eclipseo opened this issue 3 years ago • 1 comments

The following errors are happening with Go 1.15 on Fedora Rawhide:

github.com/boombuler/barcode/utils
# github.com/boombuler/barcode/utils
./runeint_test.go:7:3: Errorf format %d has arg string(IntToRune(0)) of wrong type string
./runeint_test.go:16:3: Error call has possible formatting directive %d
./runeint_test.go:19:3: Error call has possible formatting directive %d
./runeint_test.go:22:3: Error call has possible formatting directive %d
FAIL	github.com/boombuler/barcode/utils [build failed]

eclipseo avatar Dec 22 '20 11:12 eclipseo

I think this has been fixed in 8a3bb0c01cb040714e80c6783033c3f7c885c1b7 So if you are using v1.0.0 it didn't contain the fix, but I guess v1.0.1 should work. At least I don't get this error on the current head version. If the issue still occurs please let me know

boombuler avatar Jan 21 '21 05:01 boombuler