Skip to content

Commit 9c4cbb2

Browse files
committed
Update test case
1 parent 7c4a543 commit 9c4cbb2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/installer/root_pack_list_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ func TestListInstalledPacks(t *testing.T) {
280280
log.SetOutput(&buf)
281281
defer log.SetOutput(io.Discard)
282282

283-
// list --public --deprecated should only show deprecated packs
284-
assert.Nil(installer.ListInstalledPacks(!ListCached, ListPublic, !ListUpdates, ListDeprecated, !ListRequirements, true, ListFilter))
283+
// list --deprecated (without --public) should only show deprecated packs
284+
assert.Nil(installer.ListInstalledPacks(!ListCached, !ListPublic, !ListUpdates, ListDeprecated, !ListRequirements, true, ListFilter))
285285
stdout := buf.String()
286286
assert.Contains(stdout, "TheVendor::DeprecatedPack@1.0.0 (deprecated)")
287287
assert.NotContains(stdout, "TheVendor::ActivePack@2.0.0")

0 commit comments

Comments
 (0)