Skip to content

Commit a6645b7

Browse files
committed
Fix slog tests for 1.22
A new group-related case was added.
1 parent 75599fa commit a6645b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

slogr_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ func TestRunSlogTestsOnSlogHandlerLogSink(t *testing.T) {
127127
"a Handler should handle the WithGroup method",
128128
"a Handler should handle multiple WithGroup and WithAttr calls",
129129
"a Handler should not output groups for an empty Record",
130+
"a Handler should not output groups if there are no attributes",
130131
"a Handler should call Resolve on attribute values in groups",
131132
"a Handler should call Resolve on attribute values in groups from WithAttrs",
132133
}

0 commit comments

Comments
 (0)