diff --git a/depreqs/gox.go b/depreqs/gox.go deleted file mode 100644 index efb39ca1b..000000000 --- a/depreqs/gox.go +++ /dev/null @@ -1,9 +0,0 @@ -package depreqs - -import ( - "github.com/mitchellh/gox" -) - -func main() { - _, _ = gox.GoVersion() -} diff --git a/go.mod b/go.mod index 13c4ffe3c..8ca7a1153 100644 --- a/go.mod +++ b/go.mod @@ -10,8 +10,6 @@ require ( github.com/hashicorp/mdns v1.0.0 github.com/hashicorp/memberlist v0.1.3 github.com/mitchellh/cli v1.0.0 - github.com/mitchellh/gox v0.4.0 - github.com/mitchellh/iochan v1.0.0 // indirect github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f github.com/stretchr/testify v1.3.0 // indirect diff --git a/go.sum b/go.sum index 87b322e7b..86ab6eeff 100644 --- a/go.sum +++ b/go.sum @@ -47,10 +47,6 @@ github.com/miekg/dns v1.0.14 h1:9jZdLNd/P4+SfEJ0TNyxYpsK8N4GtfylBLqtbYN1sbA= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/mitchellh/cli v1.0.0 h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee h1:kK7VuFVykgt0LfMSloWYjDOt4TnOcL0AxF0/rDq2VkM= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs= diff --git a/serf/serf_test.go b/serf/serf_test.go index fa526619b..84fe90449 100644 --- a/serf/serf_test.go +++ b/serf/serf_test.go @@ -327,7 +327,7 @@ func TestSerf_eventsUser_sizeLimit(t *testing.T) { if err == nil { t.Fatalf("expect error") } - if !strings.HasPrefix(err.Error(), "user event exceeds limit of ") { + if !strings.HasPrefix(err.Error(), "user event exceeds") { t.Fatalf("should get size limit error") } }