diff --git a/syft/format/syftjson/model/package_test.go b/syft/format/syftjson/model/package_test.go index 98a85a13d19..778b7b237ed 100644 --- a/syft/format/syftjson/model/package_test.go +++ b/syft/format/syftjson/model/package_test.go @@ -519,7 +519,7 @@ func Test_UnmarshalJSON(t *testing.T) { } }`), assert: func(p *Package) { - metadata := p.Metadata.(pkg.ConanLockEntry) + metadata := p.Metadata.(pkg.ConanV1LockEntry) assert.Equal(t, "False", metadata.Options.MustGet("asio_no_deprecated")) }, },