Fix vetting code
This commit is contained in:
parent
2327e1d4e8
commit
e00d88928b
@ -79,7 +79,7 @@ func TestHTTPServer(t *testing.T) {
|
|||||||
// try get service
|
// try get service
|
||||||
service, err = reg.GetService(server.DefaultName)
|
service, err = reg.GetService(server.DefaultName)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatal("Expected %v got %+v", registry.ErrNotFound, service)
|
t.Fatalf("Expected %v got %+v", registry.ErrNotFound, service)
|
||||||
}
|
}
|
||||||
|
|
||||||
// stop server
|
// stop server
|
||||||
|
Loading…
Reference in New Issue
Block a user