Files
windows_exporter/internal/collector/license/license_test.go
2024-10-07 00:15:54 +02:00

17 lines
395 B
Go

package license_test
import (
"testing"
"github.com/prometheus-community/windows_exporter/internal/collector/license"
"github.com/prometheus-community/windows_exporter/internal/testutils"
)
func BenchmarkCollector(b *testing.B) {
testutils.FuncBenchmarkCollector(b, license.Name, license.NewWithFlags)
}
func TestCollector(t *testing.T) {
testutils.TestCollector(t, license.New, nil)
}