Skip to content

Commit 92e739c

Browse files
committed
update
1 parent 40a7a87 commit 92e739c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: middleware/static/static_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func Test_Static_Disable_Cache(t *testing.T) {
127127

128128
// Remove the file even if the test fails
129129
defer func() {
130-
require.NoError(t, os.Remove("../../.github/test.txt"))
130+
_ = os.Remove("../../.github/test.txt") //nolint:errcheck // not needed
131131
}()
132132

133133
app.Get("/*", New("../../.github/", Config{

0 commit comments

Comments
 (0)