mirror of
https://github.com/ddworken/hishtory.git
synced 2025-03-30 18:48:29 +02:00
remove redundant test
This commit is contained in:
parent
6698cf526f
commit
c079e13078
@ -199,10 +199,6 @@ func TestMergeMiddlewares(t *testing.T) {
|
||||
if w.Code != test.expectedStatusCode {
|
||||
t.Errorf("expected response status to be %d, got %d", test.expectedStatusCode, w.Code)
|
||||
}
|
||||
const expectedPiece = `127.0.0.1 GET "/"`
|
||||
if !strings.Contains(out.String(), expectedPiece) {
|
||||
t.Errorf("expected %q, got %q", expectedPiece, out.String())
|
||||
}
|
||||
|
||||
for _, expectedPiece := range test.expectedPieces {
|
||||
if !strings.Contains(out.String(), expectedPiece) {
|
||||
|
Loading…
Reference in New Issue
Block a user