Skip to content

Commit 3224030

Browse files
committed
Move comment to relevant test
1 parent 34756a0 commit 3224030

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/msc2716_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var (
4646
markerInsertionPrevEventsContentField = "org.matrix.msc2716.marker.insertion_prev_events"
4747
)
4848

49-
// Test that the message events we insert between A and B come back in the correct order from /messages
5049
func TestBackfillingHistory(t *testing.T) {
5150
deployment := Deploy(t, b.BlueprintHSWithApplicationService)
5251
defer deployment.Destroy(t)
@@ -67,6 +66,8 @@ func TestBackfillingHistory(t *testing.T) {
6766
virtualUserID := fmt.Sprintf("@%s:hs1", virtualUserLocalpart)
6867

6968
t.Run("parallel", func(t *testing.T) {
69+
// Test that the message events we insert between A and B come back in the correct order from /messages
70+
//
7071
// Final timeline output: ( [n] = historical chunk )
7172
// (oldest) A, B, [insertion, c, d, e] [insertion, f, g, h, insertion], I, J (newest)
7273
// chunk 1 chunk 0

0 commit comments

Comments
 (0)