fix: fixes for Go 1.14

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
pull/7848/head
Matt Butcher 6 years ago
parent e0604b9306
commit 6be77e2111
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -243,7 +243,7 @@ func TestErrorFindChartInRepoURL(t *testing.T) {
if err == nil {
t.Errorf("Expected error for bad chart URL, but did not get any errors")
}
if err != nil && !strings.Contains(err.Error(), `Looks like "http://someserver/something" is not a valid chart repository or cannot be reached: Get http://someserver/something/index.yaml`) {
if err != nil && !strings.Contains(err.Error(), `Looks like "http://someserver/something" is not a valid chart repository or cannot be reached`) {
t.Errorf("Expected error for bad chart URL, but got a different error (%v)", err)
}

@ -36,6 +36,7 @@ gometalinter.v1 \
--tests \
--vendor \
--deadline 60s \
--skip proto \
./... || exit_code=1
echo

Loading…
Cancel
Save