From abcd9428d9eb6cc8ac0189e6443930a67ebcabda Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 31 Jan 2022 22:07:06 -0500 Subject: internal/cvss: add many tests --- internal/cvss/v2metric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/cvss/v2metric.go') diff --git a/internal/cvss/v2metric.go b/internal/cvss/v2metric.go index de8b52b..a80cf8a 100644 --- a/internal/cvss/v2metric.go +++ b/internal/cvss/v2metric.go @@ -223,7 +223,7 @@ var v2MetricStrLut = map[string]v2Metric { } // Convert string to CVSS 2.0 metric. -func getV2MetricFromString(s string) (v2Metric, error) { +func getV2Metric(s string) (v2Metric, error) { // get metric m, ok := v2MetricStrLut[s] if !ok { -- cgit v1.2.3