Merge pull request #2729 from liyongxin/master

typo fix about overridden
This commit is contained in:
Olivier Gambier 2018-10-02 15:04:33 -07:00 committed by GitHub
commit 1cb4180b1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1336,7 +1336,7 @@ func TestSanitizeLocation(t *testing.T) {
expected: "http://blahalaja.com/v2/foo/baasdf?_state=asdfasfdasdfasdf&digest=foo", expected: "http://blahalaja.com/v2/foo/baasdf?_state=asdfasfdasdfasdf&digest=foo",
}, },
{ {
description: "ensure new hostname overidden", description: "ensure new hostname overridden",
location: "https://mwhahaha.com/v2/foo/baasdf?_state=asdfasfdasdfasdf", location: "https://mwhahaha.com/v2/foo/baasdf?_state=asdfasfdasdfasdf",
source: "http://blahalaja.com/v1", source: "http://blahalaja.com/v1",
expected: "https://mwhahaha.com/v2/foo/baasdf?_state=asdfasfdasdfasdf", expected: "https://mwhahaha.com/v2/foo/baasdf?_state=asdfasfdasdfasdf",