Skip to content

Commit d963a96

Browse files
committed
fix test comment
1 parent ebbe178 commit d963a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rest/blip_legacy_revid_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ func TestDeltaSyncSendHistoryWithLegacyClient(t *testing.T) {
719719
history := request.Properties[db.RevMessageHistory]
720720
require.NotEmpty(t, history, "history must not be empty — rev tree history is required for legacy client conflict detection")
721721
historyList := strings.Split(history, ",")
722-
// The last two entries in history should be the rev tree: current revID then parent revID
722+
// The history should be the rev tree: current revID then parent revID
723723
require.Len(t, historyList, 2, "history should rev tree entries only since hlv history is empty for this doc")
724724
assert.Equal(t, docVersion2.RevTreeID, historyList[len(historyList)-2], "second to last history entry should be current revTreeID")
725725
assert.Equal(t, docVersion1.RevTreeID, historyList[len(historyList)-1], "last history entry should be parent revTreeID")

0 commit comments

Comments
 (0)