Open ursuad opened 3 years ago
I'm also getting that test failure:
# go.mozilla.org/sops/v3/stores/ini
stores/ini/store.go:292:21: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
The lines in question:
case reflect.Int:
if field.Int() != 0 {
result[prefix] = string(field.Int())
}
I would guess that this is wrong (https://golangdocs.com/converting-integer-to-string-in-golang), since I would assume that in this case, the integer should be converted into a string. On the other hand, it is impossible to verify that, since the function encodeMetadataItem
containing this code is not used anywhere. I think I'll create a PR to simply remove it :-)
This is fixed in develop
branch.
Hi, when I run
make test
some of the tests are failing because of an issue with the PGP key, and if I comment that out I get a different error, for another test. Any idea why this is happening?The Go version I use is
go version go1.15.5 darwin/amd64
When I configure to skip that test (with
t.Skip
), I get a different error in another test: