@@ -36,7 +36,7 @@ class VulnerableCodeFunTest : WordSpec({
3636 " return findings for QUIC" {
3737 val vc = VulnerableCodeFactory .create()
3838 val id = Identifier ("Go ::github.com/quic-go/quic-go:0.40.0")
39- val pkg = Package .EMPTY .copy(id, purl = id.toPurl())
39+ val pkg = Package .EMPTY .copy(id = id , purl = id.toPurl())
4040
4141 val results = vc.retrievePackageFindings(setOf(pkg)).values.map { it.normalizeVulnerabilityData() }
4242
@@ -62,7 +62,7 @@ class VulnerableCodeFunTest : WordSpec({
6262 " return findings for Guava" {
6363 val vc = VulnerableCodeFactory .create()
6464 val id = Identifier ("Maven :com.google.guava:guava:19.0")
65- val pkg = Package .EMPTY .copy(id, purl = id.toPurl())
65+ val pkg = Package .EMPTY .copy(id = id , purl = id.toPurl())
6666
6767 val results = vc.retrievePackageFindings(setOf(pkg)).values.map { it.normalizeVulnerabilityData() }
6868
@@ -88,7 +88,7 @@ class VulnerableCodeFunTest : WordSpec({
8888 " return findings for Commons-Compress" {
8989 val vc = VulnerableCodeFactory .create()
9090 val id = Identifier ("Maven :org.apache.commons:commons-compress:1.23.0")
91- val pkg = Package .EMPTY .copy(id, purl = id.toPurl())
91+ val pkg = Package .EMPTY .copy(id = id , purl = id.toPurl())
9292
9393 val results = vc.retrievePackageFindings(setOf(pkg)).values.map { it.normalizeVulnerabilityData() }
9494
@@ -114,7 +114,7 @@ class VulnerableCodeFunTest : WordSpec({
114114 " return findings for Elliptic" {
115115 val vc = VulnerableCodeFactory .create()
116116 val id = Identifier ("NPM ::elliptic:6.5.7")
117- val pkg = Package .EMPTY .copy(id, purl = id.toPurl())
117+ val pkg = Package .EMPTY .copy(id = id , purl = id.toPurl())
118118
119119 val results = vc.retrievePackageFindings(setOf(pkg)).values.map { it.normalizeVulnerabilityData() }
120120
0 commit comments