aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2023-04-23 11:23:53 -0400
committerJonathan Amsterdam <jba@google.com>2023-04-24 18:07:26 +0000
commitc80cedec9378b0a1cd5cb400e179bb25e2e7f810 (patch)
treefd0da6d5813983dd701d6b1a359d61718548e811 /src/runtime/testdata
parentddd822e5ca0e686ae64d921bcfe28119c34278fb (diff)
downloadgo-c80cedec9378b0a1cd5cb400e179bb25e2e7f810.tar.xz
testing/slogtest: tests for slog handlers
Add a package for testing that a slog.Handler implementation satisfies that interface's documented requirements. Code copied from x/exp/slog/slogtest. Updates #56345. Change-Id: I89e94d93bfbe58e3c524758f7ac3c3fba2a2ea96 Reviewed-on: https://go-review.googlesource.com/c/go/+/487895 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions