aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index fec4e36..608d710 100644
--- a/main.go
+++ b/main.go
@@ -55,7 +55,7 @@ func testFeedParser() {
// test cvss v3.1 vector
var testCvssV3 = "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
-// Test cvss v3 parser
+// Test CVSS v3 parser.
func testCvssV3Parser() {
// parse vector, check for error
v, err := cvss.NewVector(testCvssV3)
@@ -63,6 +63,7 @@ func testCvssV3Parser() {
log.Fatal(err)
}
+ fmt.Println(v.Metrics())
fmt.Println(v)
}
@@ -77,6 +78,7 @@ func testCvssV2Parser() {
log.Fatal(err)
}
+ fmt.Println(v.Metrics())
fmt.Println(v)
}