remove redundent return statements

This commit is contained in:
Darren O'Connor 2022-11-16 01:43:29 +00:00 committed by mattn
parent f76d33a68c
commit 9e1af56ceb
7 changed files with 0 additions and 59 deletions

View file

@ -15,7 +15,6 @@ func TestGetReports(t *testing.T) {
return
}
fmt.Fprintln(w, `[{"id": 122, "action_taken": false}, {"id": 123, "action_taken": true}]`)
return
}))
defer ts.Close()
@ -55,7 +54,6 @@ func TestReport(t *testing.T) {
} else {
fmt.Fprintln(w, `{"id": 1234, "action_taken": true}`)
}
return
}))
defer ts.Close()