Skip to content

Commit

Permalink
AddDigestTargets -> AddTargetsWithDigest
Browse files Browse the repository at this point in the history
Signed-off-by: Marina Moore <mnm678@gmail.com>
  • Loading branch information
mnm678 committed Dec 6, 2021
1 parent 2f56630 commit 3442e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ func (s *ClientSuite) TestVerifyDigest(c *C) {
hash := "bc11b176a293bb341a0f2d0d226f52e7fcebd186a7c4dfca5fc64f305f06b94c"
size := int64(42)

c.Assert(s.repo.AddDigestTargets(hash, "sha256", size, nil, digest), IsNil)
c.Assert(s.repo.AddTargetsWithDigest(hash, "sha256", size, nil, digest), IsNil)
c.Assert(s.repo.Snapshot(), IsNil)
c.Assert(s.repo.Timestamp(), IsNil)
c.Assert(s.repo.Commit(), IsNil)
Expand Down

0 comments on commit 3442e35

Please sign in to comment.