mirror of https://github.com/golang/go.git
testing/slogtest: fix test name for CL
This commit is contained in:
parent
94c2e3e9b1
commit
d98b6cd57e
|
|
@ -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"),
|
explanation: withSource("a Handler should not output nested groups if there are no attributes"),
|
||||||
f: func(l *slog.Logger) {
|
f: func(l *slog.Logger) {
|
||||||
l.With("a", "b").WithGroup("G").With("c", "d").WithGroup("H").WithGroup("I").Info("msg")
|
l.With("a", "b").WithGroup("G").With("c", "d").WithGroup("H").WithGroup("I").Info("msg")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue