■ ■ ■ ■ ■ ■
test/cli/packages_cmd_test.go
| skipped 103 lines |
104 | 104 | | name: "squashed-scope-flag-hidden-packages", |
105 | 105 | | args: []string{"packages", "-o", "json", "-s", "squashed", hiddenPackagesImage}, |
106 | 106 | | assertions: []traitAssertion{ |
107 | | - | assertPackageCount(165), |
| 107 | + | assertPackageCount(163), |
108 | 108 | | assertNotInOutput("vsftpd"), // hidden package |
109 | 109 | | assertSuccessfulReturnCode, |
110 | 110 | | }, |
| skipped 2 lines |
113 | 113 | | name: "all-layers-scope-flag", |
114 | 114 | | args: []string{"packages", "-o", "json", "-s", "all-layers", hiddenPackagesImage}, |
115 | 115 | | assertions: []traitAssertion{ |
116 | | - | assertPackageCount(166), // packages are now deduplicated for this case |
| 116 | + | assertPackageCount(164), // packages are now deduplicated for this case |
117 | 117 | | assertInOutput("all-layers"), |
118 | 118 | | assertInOutput("vsftpd"), // hidden package |
119 | 119 | | assertSuccessfulReturnCode, |
| skipped 6 lines |
126 | 126 | | "SYFT_PACKAGE_CATALOGER_SCOPE": "all-layers", |
127 | 127 | | }, |
128 | 128 | | assertions: []traitAssertion{ |
129 | | - | assertPackageCount(166), // packages are now deduplicated for this case |
| 129 | + | assertPackageCount(164), // packages are now deduplicated for this case |
130 | 130 | | assertInOutput("all-layers"), |
131 | 131 | | assertInOutput("vsftpd"), // hidden package |
132 | 132 | | assertSuccessfulReturnCode, |
| skipped 207 lines |