Skip to content

Commit cafa7b6

Browse files
committed
add test for root update for client version greater than 1.
1 parent 36977d7 commit cafa7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ func (s *ClientSuite) TestUpdateRoots(c *C) {
419419
{"testdata/PublishedTwice", false, nil, map[string]int{"root": 2, "timestamp": 1, "snapshot": 1, "targets": 1}},
420420
// New root update (root role key rotation) succeeds.
421421
{"testdata/PublishedTwiceWithRotatedKeys_root", false, nil, map[string]int{"root": 2, "timestamp": 1, "snapshot": 1, "targets": 1}},
422-
// New root update for versions above 1 (root role key rotation) succeeds.
422+
// New root update (root role key rotation) for versions greater than 1 succeeds.
423423
{"testdata/Published5TimesWithRotatedKeys_root", false, nil, map[string]int{"root": 5, "timestamp": 1, "snapshot": 1, "targets": 1}},
424424
// New root update (snapshot role key rotation) succeeds.
425425
{"testdata/PublishedTwiceWithRotatedKeys_snapshot", false, nil, map[string]int{"root": 2, "timestamp": 2, "snapshot": 2, "targets": 1}},

0 commit comments

Comments
 (0)