Skip to content

Commit 5bf3341

Browse files
ArthurSensbwplotka
authored andcommitted
Use NewPedanticRegistry in Process' Collector tests
Signed-off-by: Arthur Silva Sens <[email protected]>
1 parent 73b811c commit 5bf3341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/process_collector_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func TestProcessCollector(t *testing.T) {
3737
t.Skipf("skipping TestProcessCollector, procfs not available: %s", err)
3838
}
3939

40-
registry := NewRegistry()
40+
registry := NewPedanticRegistry()
4141
if err := registry.Register(NewProcessCollector(ProcessCollectorOpts{})); err != nil {
4242
t.Fatal(err)
4343
}

0 commit comments

Comments
 (0)