Remove ineffectual assignment

This commit is contained in:
Elara 2024-03-09 07:45:25 +00:00
parent 7c06d3b66d
commit 8fc0747c3e

View File

@ -68,7 +68,7 @@ func TestHandler(t *testing.T) {
}
// 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 {
t.Fatalf("Expected error, got nil")
}