@@ -41,26 +41,26 @@ func TestJumpToDateEndpoint(t *testing.T) {
41
41
as := deployment .AppServiceUser (t , "hs1" , asUserID )
42
42
43
43
t .Run ("parallel" , func (t * testing.T ) {
44
- t .Run ("should find event after given timestmap " , func (t * testing.T ) {
44
+ t .Run ("should find event after given timestamp " , func (t * testing.T ) {
45
45
t .Parallel ()
46
46
roomID , eventA , _ := createTestRoom (t , alice )
47
47
mustCheckEventisReturnedForTime (t , alice , roomID , eventA .BeforeTimestamp , "f" , eventA .EventID )
48
48
})
49
49
50
- t .Run ("should find event before given timestmap " , func (t * testing.T ) {
50
+ t .Run ("should find event before given timestamp " , func (t * testing.T ) {
51
51
t .Parallel ()
52
52
roomID , _ , eventB := createTestRoom (t , alice )
53
53
mustCheckEventisReturnedForTime (t , alice , roomID , eventB .AfterTimestamp , "b" , eventB .EventID )
54
54
})
55
55
56
- t .Run ("should find nothing before the earliest timestmap " , func (t * testing.T ) {
56
+ t .Run ("should find nothing before the earliest timestamp " , func (t * testing.T ) {
57
57
t .Parallel ()
58
58
timeBeforeRoomCreation := time .Now ()
59
59
roomID , _ , _ := createTestRoom (t , alice )
60
60
mustCheckEventisReturnedForTime (t , alice , roomID , timeBeforeRoomCreation , "b" , "" )
61
61
})
62
62
63
- t .Run ("should find nothing after the latest timestmap " , func (t * testing.T ) {
63
+ t .Run ("should find nothing after the latest timestamp " , func (t * testing.T ) {
64
64
t .Parallel ()
65
65
roomID , _ , eventB := createTestRoom (t , alice )
66
66
mustCheckEventisReturnedForTime (t , alice , roomID , eventB .AfterTimestamp , "f" , "" )
@@ -88,7 +88,7 @@ func TestJumpToDateEndpoint(t *testing.T) {
88
88
mustCheckEventisReturnedForTime (t , alice , roomID , timeBeforeMessageCreation , "b" , messageIDWithSameTime2 )
89
89
})
90
90
91
- t .Run ("should find next event topologically after given timestmap when all message timestamps are the same" , func (t * testing.T ) {
91
+ t .Run ("should find next event topologically after given timestamp when all message timestamps are the same" , func (t * testing.T ) {
92
92
t .Parallel ()
93
93
roomID , _ , _ := createTestRoom (t , alice )
94
94
0 commit comments