From e400d063a039630e9305b4aa657822d70baec834 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 27 Oct 2022 10:31:49 -0400 Subject: [PATCH] Run gofmt. --- tests/csapi/thread_notifications_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/csapi/thread_notifications_test.go b/tests/csapi/thread_notifications_test.go index 2c92432d..3df8dcdd 100644 --- a/tests/csapi/thread_notifications_test.go +++ b/tests/csapi/thread_notifications_test.go @@ -144,7 +144,7 @@ func TestThreadedReceipts(t *testing.T) { syncHasUnreadNotifs(roomID, func(r gjson.Result, t gjson.Result) bool { threadNotifications := t.Get(client.GjsonEscape(eventA)) return r.Get("highlight_count").Num == 1 && r.Get("notification_count").Num == 2 && - threadNotifications.Get("highlight_count").Num == 1 && threadNotifications.Get("notification_count").Num == 2 + threadNotifications.Get("highlight_count").Num == 1 && threadNotifications.Get("notification_count").Num == 2 }), ) @@ -172,7 +172,7 @@ func TestThreadedReceipts(t *testing.T) { syncHasUnreadNotifs(roomID, func(r gjson.Result, t gjson.Result) bool { threadNotifications := t.Get(client.GjsonEscape(eventA)) return r.Get("highlight_count").Num == 1 && r.Get("notification_count").Num == 1 && - threadNotifications.Get("highlight_count").Num == 1 && threadNotifications.Get("notification_count").Num == 2 + threadNotifications.Get("highlight_count").Num == 1 && threadNotifications.Get("notification_count").Num == 2 }), ) @@ -201,7 +201,7 @@ func TestThreadedReceipts(t *testing.T) { syncHasUnreadNotifs(roomID, func(r gjson.Result, t gjson.Result) bool { threadNotifications := t.Get(client.GjsonEscape(eventA)) return r.Get("highlight_count").Num == 1 && r.Get("notification_count").Num == 1 && - threadNotifications.Get("highlight_count").Num == 1 && threadNotifications.Get("notification_count").Num == 1 + threadNotifications.Get("highlight_count").Num == 1 && threadNotifications.Get("notification_count").Num == 1 }), )