From 0114f8bae399eb4c21011cf922d86ba545b8f4d2 Mon Sep 17 00:00:00 2001 From: kayra1 Date: Tue, 27 Aug 2024 15:39:28 +0300 Subject: [PATCH] flatten -> trimmed typo --- internal/api/handlers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/handlers_test.go b/internal/api/handlers_test.go index 7d3e7c9..d7556a2 100644 --- a/internal/api/handlers_test.go +++ b/internal/api/handlers_test.go @@ -928,7 +928,7 @@ func prepareUserAccounts(url string, client *http.Client, adminToken, nonAdminTo } } -// Flatten removes all whitespace and newlines from a given string +// trimmed removes all whitespace and newlines from a given string func trimmed(s string) string { return strings.ReplaceAll(strings.TrimSpace(s), "\n", "\\n") }