Skip to content

Commit

Permalink
debug repo_test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMen65 committed Jan 27, 2021
1 parent e779461 commit 05de51e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,7 @@ func (rs *RepoSuite) TestUnknownKeyIDs(c *C) {

genKey(c, r, "root")
genKey(c, r, "targets")
delegateGenKey(c, r, "role01")
genKey(c, r, "snapshot")
genKey(c, r, "timestamp")

Expand All @@ -1713,6 +1714,7 @@ func (rs *RepoSuite) TestUnknownKeyIDs(c *C) {

// commit the metadata to the store.
c.Assert(r.AddTargets([]string{}, nil), IsNil)
c.Assert(r.DelegateAddTargets("role01", []string{}, nil), IsNil)
c.Assert(r.Snapshot(CompressionTypeNone), IsNil)
c.Assert(r.Timestamp(), IsNil)
c.Assert(r.Commit(), IsNil)
Expand Down

0 comments on commit 05de51e

Please sign in to comment.