From 12372b36bcd707d319b1a82076c7660fb6abaf90 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 26 Aug 2025 09:33:32 +0000 Subject: [PATCH] Fix typos. Signed-off-by: Jason Volk --- tests/room_timestamp_to_event_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/room_timestamp_to_event_test.go b/tests/room_timestamp_to_event_test.go index c9d14d6d..f6de01cc 100644 --- a/tests/room_timestamp_to_event_test.go +++ b/tests/room_timestamp_to_event_test.go @@ -41,26 +41,26 @@ func TestJumpToDateEndpoint(t *testing.T) { as := deployment.AppServiceUser(t, "hs1", asUserID) t.Run("parallel", func(t *testing.T) { - t.Run("should find event after given timestmap", func(t *testing.T) { + t.Run("should find event after given timestamp", func(t *testing.T) { t.Parallel() roomID, eventA, _ := createTestRoom(t, alice) mustCheckEventisReturnedForTime(t, alice, roomID, eventA.BeforeTimestamp, "f", eventA.EventID) }) - t.Run("should find event before given timestmap", func(t *testing.T) { + t.Run("should find event before given timestamp", func(t *testing.T) { t.Parallel() roomID, _, eventB := createTestRoom(t, alice) mustCheckEventisReturnedForTime(t, alice, roomID, eventB.AfterTimestamp, "b", eventB.EventID) }) - t.Run("should find nothing before the earliest timestmap", func(t *testing.T) { + t.Run("should find nothing before the earliest timestamp", func(t *testing.T) { t.Parallel() timeBeforeRoomCreation := time.Now() roomID, _, _ := createTestRoom(t, alice) mustCheckEventisReturnedForTime(t, alice, roomID, timeBeforeRoomCreation, "b", "") }) - t.Run("should find nothing after the latest timestmap", func(t *testing.T) { + t.Run("should find nothing after the latest timestamp", func(t *testing.T) { t.Parallel() roomID, _, eventB := createTestRoom(t, alice) mustCheckEventisReturnedForTime(t, alice, roomID, eventB.AfterTimestamp, "f", "") @@ -88,7 +88,7 @@ func TestJumpToDateEndpoint(t *testing.T) { mustCheckEventisReturnedForTime(t, alice, roomID, timeBeforeMessageCreation, "b", messageIDWithSameTime2) }) - t.Run("should find next event topologically after given timestmap when all message timestamps are the same", func(t *testing.T) { + t.Run("should find next event topologically after given timestamp when all message timestamps are the same", func(t *testing.T) { t.Parallel() roomID, _, _ := createTestRoom(t, alice)