From d3aabe23974abc413313998d62eb49810b20ac5c Mon Sep 17 00:00:00 2001 From: Pat Christopher Date: Tue, 13 Jul 2021 19:25:45 -0700 Subject: [PATCH] fix existing unit tests --- test/instrumentation/main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/instrumentation/main_test.go b/test/instrumentation/main_test.go index 33e833e9699..3675e2e7107 100644 --- a/test/instrumentation/main_test.go +++ b/test/instrumentation/main_test.go @@ -487,7 +487,7 @@ var _ = metrics.NewCounter( `}, { testName: "Fail on stable metric with attribute set to local function return", - err: fmt.Errorf("testdata/metric.go:9:4: Non string attribute it not supported"), + err: fmt.Errorf("testdata/metric.go:9:4: Non string attribute is not supported"), src: ` package test import "k8s.io/component-base/metrics" @@ -503,7 +503,7 @@ var _ = metrics.NewCounter( `}, { testName: "Fail on stable metric with attribute set to imported function return", - err: fmt.Errorf("testdata/metric.go:7:4: Non string attribute it not supported"), + err: fmt.Errorf("testdata/metric.go:7:4: Non string attribute is not supported"), src: ` package test import "k8s.io/component-base/metrics"