*: tidy and test fix

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2020-09-24 14:07:34 -04:00
parent 9dca822092
commit b0ceef0566
3 changed files with 6 additions and 3 deletions

4
go.mod
View file

@ -1,9 +1,9 @@
module github.com/kinvolk/go-omaha module git.thisco.de/vbatts/go-omaha
go 1.15 go 1.15
require ( require (
git.thisco.de/vbatts/go-omaha v0.0.0-20180327202221-e409d983eb60 // indirect
github.com/blang/semver v3.5.1+incompatible github.com/blang/semver v3.5.1+incompatible
github.com/kylelemons/godebug v1.1.0
github.com/satori/go.uuid v1.1.0 github.com/satori/go.uuid v1.1.0
) )

3
go.sum
View file

@ -2,4 +2,7 @@ git.thisco.de/vbatts/go-omaha v0.0.0-20180327202221-e409d983eb60 h1:lqjtEFY5RgNg
git.thisco.de/vbatts/go-omaha v0.0.0-20180327202221-e409d983eb60/go.mod h1:w+Vl1DisYu3l2h88jvqZDV414oSIcTY8YrZLOa/vLME= git.thisco.de/vbatts/go-omaha v0.0.0-20180327202221-e409d983eb60/go.mod h1:w+Vl1DisYu3l2h88jvqZDV414oSIcTY8YrZLOa/vLME=
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/satori/go.uuid v1.1.0 h1:B9KXyj+GzIpJbV7gmr873NsY6zpbxNy24CBtGrk7jHo=
github.com/satori/go.uuid v1.1.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/satori/go.uuid v1.1.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=

View file

@ -146,7 +146,7 @@ func TestOmahaResponseWithUpdate(t *testing.T) {
} }
if !reflect.DeepEqual(parsed, expected) { if !reflect.DeepEqual(parsed, expected) {
t.Errorf("parsed != expected\n%s\n%s", parsed, expected) t.Errorf("parsed != expected\n%v\n%v", parsed, expected)
} }
} }