Skip to content

Commit d14c166

Browse files
committed
Add another chunk case
1 parent 829839f commit d14c166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/msc2716_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ func TestBackfillingHistory(t *testing.T) {
521521
historicalEventIDs := getEventsFromBatchSendResponseBody(t, batchSendResBody)
522522
baseInsertionEventID := historicalEventIDs[len(historicalEventIDs)-1]
523523

524-
// [1 insertion event + 2 historical events + 1 insertion event]
525-
if len(historicalEventIDs) != 4 {
524+
// [1 insertion event + 2 historical events + 1 chunk event + 1 insertion event]
525+
if len(historicalEventIDs) != 5 {
526526
t.Fatalf("Expected eventID list should be length 15 but saw %d: %s", len(historicalEventIDs), historicalEventIDs)
527527
}
528528

0 commit comments

Comments
 (0)