Skip to content

Commit 72d1516

Browse files
committed
Update wording of error messages
1 parent 5098f57 commit 72d1516

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/csapi/apidoc_room_receipts_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func TestRoomReceipts(t *testing.T) {
7676

7777
// Ensure that the `room_id` field does NOT exist.
7878
if r.Get("room_id").Exists() {
79-
t.Fatalf("Read receipt included `room_id` field down sync: %s", r.Raw)
79+
t.Fatalf("Read receipt should not contain 'room_id' field when syncing but saw: %s", r.Raw)
8080
}
8181

8282
// Exit the /sync loop.

tests/csapi/room_typing_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestTyping(t *testing.T) {
5050

5151
// Ensure that the `room_id` field does NOT exist.
5252
if r.Get("room_id").Exists() {
53-
t.Fatalf("Typing event included `room_id` field down sync: %s", r.Raw)
53+
t.Fatalf("Typing event should not contain `room_id` field when syncing but saw: %s", r.Raw)
5454
}
5555

5656
// Exit the /sync loop.

0 commit comments

Comments
 (0)