mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
Add the Ocaml ecosystem (#3112)
Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
This commit is contained in:
@@ -86,6 +86,10 @@ func TestLanguageFromPURL(t *testing.T) {
|
||||
purl: "pkg:luarocks/kong@3.7.0",
|
||||
want: Lua,
|
||||
},
|
||||
{
|
||||
purl: "pkg:opam/ocaml-base-compiler@ 5.2.0",
|
||||
want: OCaml,
|
||||
},
|
||||
}
|
||||
|
||||
var languages = strset.New()
|
||||
@@ -227,6 +231,10 @@ func TestLanguageByName(t *testing.T) {
|
||||
name: "swiplpack",
|
||||
language: Swipl,
|
||||
},
|
||||
{
|
||||
name: "opam",
|
||||
language: OCaml,
|
||||
},
|
||||
{
|
||||
name: "pod",
|
||||
language: Swift,
|
||||
|
||||
Reference in New Issue
Block a user