Browse Source

*: tidy and test fix

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
master
Vincent Batts 2 years ago
parent
commit
b0ceef0566
  1. 4
      go.mod
  2. 3
      go.sum
  3. 2
      omaha/protocol_test.go

4
go.mod

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

3
go.sum

@ -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=
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/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=

2
omaha/protocol_test.go

@ -146,7 +146,7 @@ func TestOmahaResponseWithUpdate(t *testing.T) {
}
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)
}
}

Loading…
Cancel
Save