Skip to content

Commit 2e4035d

Browse files
committed
test(context): drop redundant pre-call req.Pattern assertion in TestWrapM_RestoresRequestPattern
1 parent 078b0f9 commit 2e4035d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

context_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,9 +631,8 @@ func TestWrapM_RestoresRequestPattern(t *testing.T) {
631631
})
632632

633633
req := httptest.NewRequest(http.MethodGet, "/foo/bar", nil)
634-
require.Empty(t, req.Pattern)
635-
636634
w := httptest.NewRecorder()
635+
637636
f.ServeHTTP(w, req)
638637

639638
assert.Empty(t, req.Pattern)

0 commit comments

Comments
 (0)