Skip to content

Commit 5aa2006

Browse files
committed
fix typo
1 parent f4bada7 commit 5aa2006

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

handlers/message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func Message(app *config.App) http.HandlerFunc {
4949
}
5050

5151
if r.URL.Query().Get("download") == "all" {
52-
app.Log.Debug("dowloading messages",
52+
app.Log.Debug("downloading messages",
5353
"count", app.NumMessages, "user", req)
5454
app.ServeMessages(w)
5555
return

storage/sanitize_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ func TestSanitizeName(t *testing.T) {
104104
"example.xxxx"},
105105
{strings.Repeat("a", 1000) + ".txt", extraChars, 50,
106106
strings.Repeat("a", 46) + ".txt"},
107-
{strings.Repeat(".", 100) + strings.Repeat(".", 100), extraChars, 80,
108-
strings.Repeat(".", 79) + "."},
107+
{strings.Repeat(".", 200), extraChars, 80,
108+
strings.Repeat(".", 80)},
109109
}
110110
for _, test := range tests {
111111
t.Run(test.input, func(t *testing.T) {

0 commit comments

Comments
 (0)