ci: disable exhaustive linter for test files (#4499)

This commit is contained in:
Marten Seemann
2024-05-07 12:36:22 +08:00
committed by GitHub
parent 2ed1593b6e
commit 4f4da0423f
4 changed files with 3 additions and 9 deletions

View File

@@ -199,7 +199,6 @@ var _ = Describe("Handshake drop tests", func() {
var incoming, outgoing atomic.Int32
ln, proxyPort, closeFn := startListenerAndProxy(func(d quicproxy.Direction, _ []byte) bool {
var p int32
//nolint:exhaustive
switch d {
case quicproxy.DirectionIncoming:
p = incoming.Add(1)
@@ -216,7 +215,6 @@ var _ = Describe("Handshake drop tests", func() {
var incoming, outgoing atomic.Int32
ln, proxyPort, closeFn := startListenerAndProxy(func(d quicproxy.Direction, _ []byte) bool {
var p int32
//nolint:exhaustive
switch d {
case quicproxy.DirectionIncoming:
p = incoming.Add(1)