1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-03 00:57:43 +02:00

feat: upgrade to go 1.14 (#1372)

* feat: upgrade to go 1.14

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker
2020-03-04 01:24:51 -03:00
committed by GitHub
parent 2e69fa0667
commit 02042937ec
13 changed files with 14 additions and 22 deletions

View File

@ -29,7 +29,7 @@ func TestNewGitHubClient(t *testing.T) {
},
}))
require.EqualError(t, err, "parse ://github.mycompany.com/api: missing protocol scheme")
require.EqualError(t, err, `parse "://github.mycompany.com/api": missing protocol scheme`)
})
t.Run("bad upload url", func(t *testing.T) {
@ -40,7 +40,7 @@ func TestNewGitHubClient(t *testing.T) {
},
}))
require.EqualError(t, err, "parse not a url:4994: first path segment in URL cannot contain colon")
require.EqualError(t, err, `parse "not a url:4994": first path segment in URL cannot contain colon`)
})
}