From 846263afeefb2575b6a4ddfb33259b65d5929e32 Mon Sep 17 00:00:00 2001 From: Tom Powell Date: Wed, 8 Feb 2023 10:12:15 +0000 Subject: [PATCH] Returning test functions to public Signed-off-by: Tom Powell --- collector/teradici_pcoip_test.go | 2 +- collector/vmware_blast_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/teradici_pcoip_test.go b/collector/teradici_pcoip_test.go index 99149575..41dc270d 100644 --- a/collector/teradici_pcoip_test.go +++ b/collector/teradici_pcoip_test.go @@ -4,6 +4,6 @@ import ( "testing" ) -func benchmarkTeradiciPcoipCollector(b *testing.B) { +func BenchmarkTeradiciPcoipCollector(b *testing.B) { benchmarkCollector(b, "teradici_pcoip", newTeradiciPcoipCollector) } diff --git a/collector/vmware_blast_test.go b/collector/vmware_blast_test.go index a6c46a30..ff1b645b 100644 --- a/collector/vmware_blast_test.go +++ b/collector/vmware_blast_test.go @@ -4,6 +4,6 @@ import ( "testing" ) -func benchmarkVmwareBlastCollector(b *testing.B) { +func BenchmarkVmwareBlastCollector(b *testing.B) { benchmarkCollector(b, "vmware_blast", newVmwareBlastCollector) }