From 4531515f2b0fafa02a282d4b78ad94623827584b Mon Sep 17 00:00:00 2001 From: kindknow <166522338+kindknow@users.noreply.github.com> Date: Sat, 27 Apr 2024 03:08:09 +0800 Subject: [PATCH] chore: fix function name in comment (#6608) Signed-off-by: kindknow --- test/presubmit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/presubmit_test.go b/test/presubmit_test.go index 0d7dc4fcd..3f8858926 100644 --- a/test/presubmit_test.go +++ b/test/presubmit_test.go @@ -308,7 +308,7 @@ func importtype(s string) string { return "std" } -// TestMetricNaming tests the imports path used for metrics. It depends on faillint to be installed: go install github.com/fatih/faillint +// TestPrometheusImports tests the imports path used for metrics. It depends on faillint to be installed: go install github.com/fatih/faillint func TestPrometheusImports(t *testing.T) { if _, err := exec.LookPath("faillint"); err != nil { fmt.Fprintf(os.Stderr, "Not executing TestPrometheusImports: faillint not found\n")