chore: fix function name in comment (#6608)

Signed-off-by: kindknow <iturf@sina.com>
This commit is contained in:
kindknow
2024-04-27 03:08:09 +08:00
committed by GitHub
parent 5b6d8e356c
commit 4531515f2b

View File

@@ -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")