@@ -58,7 +58,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
58
58
PackageInfos : []types.PackageInfo {
59
59
{
60
60
FilePath : "var/lib/dpkg/status.d/libc" ,
61
- Packages : [] types.Package {
61
+ Packages : types.Packages {
62
62
{
63
63
Name : "libc" ,
64
64
Version : "1.2.3" ,
@@ -70,7 +70,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
70
70
{
71
71
Type : "bundler" ,
72
72
FilePath : "app/Gemfile.lock" ,
73
- Libraries : [] types.Package {
73
+ Libraries : types.Packages {
74
74
{
75
75
Name : "rails" ,
76
76
Version : "5.0.0" ,
@@ -84,7 +84,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
84
84
PackageInfos : []types.PackageInfo {
85
85
{
86
86
FilePath : "var/lib/dpkg/status.d/openssl" ,
87
- Packages : [] types.Package {
87
+ Packages : types.Packages {
88
88
{
89
89
Name : "openssl" ,
90
90
Version : "1.1.1" ,
@@ -96,7 +96,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
96
96
{
97
97
Type : "bundler" ,
98
98
FilePath : "app2/Gemfile.lock" ,
99
- Libraries : [] types.Package {
99
+ Libraries : types.Packages {
100
100
{
101
101
Name : "nokogiri" ,
102
102
Version : "1.0.0" ,
@@ -114,7 +114,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
114
114
PackageInfos : []types.PackageInfo {
115
115
{
116
116
FilePath : "var/lib/dpkg/status.d/libc" ,
117
- Packages : [] types.Package {
117
+ Packages : types.Packages {
118
118
{
119
119
Name : "libc" ,
120
120
Version : "1.2.3" ,
@@ -123,7 +123,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
123
123
},
124
124
{
125
125
FilePath : "var/lib/dpkg/status.d/openssl" ,
126
- Packages : [] types.Package {
126
+ Packages : types.Packages {
127
127
{
128
128
Name : "openssl" ,
129
129
Version : "1.1.1" ,
@@ -135,7 +135,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
135
135
{
136
136
Type : "bundler" ,
137
137
FilePath : "app/Gemfile.lock" ,
138
- Libraries : [] types.Package {
138
+ Libraries : types.Packages {
139
139
{
140
140
Name : "rails" ,
141
141
Version : "5.0.0" ,
@@ -145,7 +145,7 @@ func TestAnalysisResult_Merge(t *testing.T) {
145
145
{
146
146
Type : "bundler" ,
147
147
FilePath : "app2/Gemfile.lock" ,
148
- Libraries : [] types.Package {
148
+ Libraries : types.Packages {
149
149
{
150
150
Name : "nokogiri" ,
151
151
Version : "1.0.0" ,
@@ -335,7 +335,7 @@ func TestAnalyzerGroup_AnalyzeFile(t *testing.T) {
335
335
PackageInfos : []types.PackageInfo {
336
336
{
337
337
FilePath : "/lib/apk/db/installed" ,
338
- Packages : [] types.Package {
338
+ Packages : types.Packages {
339
339
{
340
340
341
341
Name : "musl" ,
@@ -375,7 +375,7 @@ func TestAnalyzerGroup_AnalyzeFile(t *testing.T) {
375
375
{
376
376
Type : "bundler" ,
377
377
FilePath : "/app/Gemfile.lock" ,
378
- Libraries : [] types.Package {
378
+ Libraries : types.Packages {
379
379
{
380
380
381
381
Name : "actioncable" ,
@@ -436,7 +436,7 @@ func TestAnalyzerGroup_AnalyzeFile(t *testing.T) {
436
436
{
437
437
Type : "bundler" ,
438
438
FilePath : "/app/Gemfile-dev.lock" ,
439
- Libraries : [] types.Package {
439
+ Libraries : types.Packages {
440
440
{
441
441
442
442
Name : "actioncable" ,
@@ -569,7 +569,7 @@ func TestAnalyzerGroup_PostAnalyze(t *testing.T) {
569
569
{
570
570
Type : string (analyzer .TypeJar ),
571
571
FilePath : "testdata/post-apps/jar/jackson-annotations-2.15.0-rc2.jar" ,
572
- Libraries : [] types.Package {
572
+ Libraries : types.Packages {
573
573
{
574
574
Name : "com.fasterxml.jackson.core:jackson-annotations" ,
575
575
Version : "2.15.0-rc2" ,
@@ -589,7 +589,7 @@ func TestAnalyzerGroup_PostAnalyze(t *testing.T) {
589
589
{
590
590
Type : string (analyzer .TypePoetry ),
591
591
FilePath : "testdata/post-apps/poetry/happy/poetry.lock" ,
592
- Libraries : [] types.Package {
592
+ Libraries : types.Packages {
593
593
{
594
594
595
595
Name : "certifi" ,
0 commit comments