Fix failing CLI test (#3567)

This commit is contained in:
Alexis King 2019-12-18 16:45:29 -06:00 committed by GitHub
parent 756d8abd54
commit bdf79dfc48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,7 @@ func mustWriteFile(t testing.TB, dir, file string, body string) {
func compareMetadata(t testing.TB, metadataFile string, actualType string, serverVersion *semver.Version) { func compareMetadata(t testing.TB, metadataFile string, actualType string, serverVersion *semver.Version) {
var actualData []byte var actualData []byte
c, err := semver.NewConstraint("<= v1.0.0-rc.1") c, err := semver.NewConstraint("<= v1.0.0")
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }