mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -18,6 +18,7 @@ var (
|
||||
)
|
||||
|
||||
func accept(t *testing.T, l net.Listener, count int) {
|
||||
t.Helper()
|
||||
server, err := l.Accept()
|
||||
if err != nil {
|
||||
t.Fatalf("Server accepted: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user