Skip to content

Commit

Permalink
Fix build (#63)
Browse files Browse the repository at this point in the history
* Fix test under go 1.14

* Update package-lock.json
  • Loading branch information
hanzei authored Mar 30, 2020
1 parent e58eca8 commit fdde4b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions server/utils/httputils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ func TestNormalizeRemoteBaseURL(t *testing.T) {

// Errors
{"[jdsh", "", "",
`parse //[jdsh: missing ']' in host`},
`parse "//[jdsh": missing ']' in host`},
{"/mmtest", "", "",
`Invalid URL, no hostname: "/mmtest"`},
{"/mmtest/", "", "",
`Invalid URL, no hostname: "/mmtest/"`},
{"http:/mmtest/", "", "",
`Invalid URL, no hostname: "http:/mmtest/"`},
{"hƒƒp://xyz.com", "", "",
`parse hƒƒp://xyz.com: first path segment in URL cannot contain colon`},
`parse "hƒƒp://xyz.com": first path segment in URL cannot contain colon`},
{"https://mattermost.site.url", "https://mattermost.site.url/", "",
"https://mattermost.site.url is the Mattermost site URL. Please use the remote application's URL."},
} {
Expand Down
12 changes: 8 additions & 4 deletions webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdde4b5

Please sign in to comment.