Skip to content

Commit 7270cba

Browse files
authored
log: fix a typo (#29883)
logger
1 parent b36c738 commit 7270cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

log/logger_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestLoggingWithVmodule(t *testing.T) {
2626
logger.Trace("a message", "foo", "bar")
2727
have := out.String()
2828
// The timestamp is locale-dependent, so we want to trim that off
29-
// "INFO [01-01|00:00:00.000] a messag ..." -> "a messag..."
29+
// "INFO [01-01|00:00:00.000] a message ..." -> "a message..."
3030
have = strings.Split(have, "]")[1]
3131
want := " a message foo=bar\n"
3232
if have != want {
@@ -42,7 +42,7 @@ func TestTerminalHandlerWithAttrs(t *testing.T) {
4242
logger.Trace("a message", "foo", "bar")
4343
have := out.String()
4444
// The timestamp is locale-dependent, so we want to trim that off
45-
// "INFO [01-01|00:00:00.000] a messag ..." -> "a messag..."
45+
// "INFO [01-01|00:00:00.000] a message ..." -> "a message..."
4646
have = strings.Split(have, "]")[1]
4747
want := " a message baz=bat foo=bar\n"
4848
if have != want {

0 commit comments

Comments
 (0)