remote: Added missing url test case
This commit is contained in:
parent
0d2d112c19
commit
88f94e35db
|
@ -30,6 +30,11 @@ func TestHTTPRemote_Validate(t *testing.T) {
|
|||
t.Fatalf("expect error")
|
||||
}
|
||||
|
||||
conf["url"] = "*"
|
||||
if _, err := NewHTTPRemoteClient(conf); err == nil {
|
||||
t.Fatalf("expect error")
|
||||
}
|
||||
|
||||
conf["url"] = "http://cool.com"
|
||||
if _, err := NewHTTPRemoteClient(conf); err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
|
|
Loading…
Reference in New Issue