Remove ineffectual assignment
This commit is contained in:
parent
7c06d3b66d
commit
8fc0747c3e
@ -68,7 +68,7 @@ func TestHandler(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Look up a non-existent resource to test error handling
|
// Look up a non-existent resource to test error handling
|
||||||
desc, err = Lookup("http://example.com/resource/2", srv.Listener.Addr().String())
|
_, err = Lookup("http://example.com/resource/2", srv.Listener.Addr().String())
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatalf("Expected error, got nil")
|
t.Fatalf("Expected error, got nil")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user