mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-11 21:16:36 +00:00
time: refactor collector (#1728)
This commit is contained in:
@@ -10,3 +10,7 @@ import (
|
||||
func BenchmarkCollector(b *testing.B) {
|
||||
testutils.FuncBenchmarkCollector(b, time.Name, time.NewWithFlags)
|
||||
}
|
||||
|
||||
func TestCollector(t *testing.T) {
|
||||
testutils.TestCollector(t, time.New, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user