@@ -41,26 +41,26 @@ func TestJumpToDateEndpoint(t *testing.T) {
4141 as := deployment .AppServiceUser (t , "hs1" , asUserID )
4242
4343 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 ) {
4545 t .Parallel ()
4646 roomID , eventA , _ := createTestRoom (t , alice )
4747 mustCheckEventisReturnedForTime (t , alice , roomID , eventA .BeforeTimestamp , "f" , eventA .EventID )
4848 })
4949
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 ) {
5151 t .Parallel ()
5252 roomID , _ , eventB := createTestRoom (t , alice )
5353 mustCheckEventisReturnedForTime (t , alice , roomID , eventB .AfterTimestamp , "b" , eventB .EventID )
5454 })
5555
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 ) {
5757 t .Parallel ()
5858 timeBeforeRoomCreation := time .Now ()
5959 roomID , _ , _ := createTestRoom (t , alice )
6060 mustCheckEventisReturnedForTime (t , alice , roomID , timeBeforeRoomCreation , "b" , "" )
6161 })
6262
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 ) {
6464 t .Parallel ()
6565 roomID , _ , eventB := createTestRoom (t , alice )
6666 mustCheckEventisReturnedForTime (t , alice , roomID , eventB .AfterTimestamp , "f" , "" )
@@ -88,7 +88,7 @@ func TestJumpToDateEndpoint(t *testing.T) {
8888 mustCheckEventisReturnedForTime (t , alice , roomID , timeBeforeMessageCreation , "b" , messageIDWithSameTime2 )
8989 })
9090
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 ) {
9292 t .Parallel ()
9393 roomID , _ , _ := createTestRoom (t , alice )
9494
0 commit comments