tcp: fix panic on collector (#1699)

This commit is contained in:
Jan-Otto Kröpke
2024-10-17 02:29:53 +02:00
committed by GitHub
parent 92b7e445e1
commit ce2df385a6
3 changed files with 9 additions and 1 deletions

View File

@@ -10,3 +10,7 @@ import (
func BenchmarkCollector(b *testing.B) {
testutils.FuncBenchmarkCollector(b, tcp.Name, tcp.NewWithFlags)
}
func TestCollector(t *testing.T) {
testutils.TestCollector(t, tcp.New, nil)
}