testing/slogtest: fix test name for CL

This commit is contained in:
junya koyama 2025-03-22 07:53:08 +09:00
parent 94c2e3e9b1
commit d98b6cd57e
No known key found for this signature in database
GPG key ID: CF96D4804B10B725

View file

@ -172,7 +172,7 @@ var cases = []testCase{
},
},
{
name: "with-group-record-nested",
name: "nested-empty-group-record",
explanation: withSource("a Handler should not output nested groups if there are no attributes"),
f: func(l *slog.Logger) {
l.With("a", "b").WithGroup("G").With("c", "d").WithGroup("H").WithGroup("I").Info("msg")