boombuler / barcode

a barcode creation lib for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

eclipseo opened this issue · 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]

I think this has been fixed in 8a3bb0c
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