aboutsummaryrefslogtreecommitdiff
path: root/cvss/v3metric_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cvss/v3metric_test.go')
-rw-r--r--cvss/v3metric_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cvss/v3metric_test.go b/cvss/v3metric_test.go
index 432d34a..a3c587a 100644
--- a/cvss/v3metric_test.go
+++ b/cvss/v3metric_test.go
@@ -80,7 +80,7 @@ func TestGetV3Metric(t *testing.T) {
{ "MAC:L", v3MACLow, true },
{ "MAC:H", v3MACHigh, true },
- { "MPR:X", v3MMRNotDefined, true },
+ { "MPR:X", v3MPRNotDefined, true },
{ "MPR:L", v3MPRLow, true },
{ "MPR:H", v3MPRHigh, true },
@@ -201,7 +201,7 @@ func TestGetV3MetricKey(t *testing.T) {
{ v3MACLow, v3ModifiedAttackComplexity }, // MAC:L
{ v3MACHigh, v3ModifiedAttackComplexity }, // MAC:H
- { v3MMRNotDefined, v3ModifiedPrivilegesRequired }, // MPR:X
+ { v3MPRNotDefined, v3ModifiedPrivilegesRequired }, // MPR:X
{ v3MPRLow, v3ModifiedPrivilegesRequired }, // MPR:L
{ v3MPRHigh, v3ModifiedPrivilegesRequired }, // MPR:H
@@ -316,7 +316,7 @@ func TestV3MetricString(t *testing.T) {
{ v3MACLow, "MAC:L" },
{ v3MACHigh, "MAC:H" },
- { v3MMRNotDefined, "MPR:X" },
+ { v3MPRNotDefined, "MPR:X" },
{ v3MPRLow, "MPR:L" },
{ v3MPRHigh, "MPR:H" },