server: fix dropped test error
@@ -30,7 +30,9 @@ func MapHandlerTester(t *testing.T, tc MapHandlerTCase) {
a = newTestMapWithLayers(testLayer1, testLayer2, testLayer3)
}
w, _, err := doRequest(a, tc.method, tc.uri, nil)
-
+ if err != nil {
+ t.Fatalf("doRequest: %v", err)
+ }
if w.Code != tc.expectedCode {
wbody := strings.TrimSpace(w.Body.String())
t.Log("wbody", wbody)
