typo fix about overridden

Signed-off-by: Yongxin Li <yxli@alauda.io>
This commit is contained in:
Yongxin Li 2018-09-27 20:27:09 +08:00
parent d37f816427
commit de8636b78c

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",