1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:51:17 -07:00
go/src/testing
Jonathan Amsterdam a82f69f60e log/slog: built-in handler constructors take options as a second arg
There is now one constructor function for each built-in handler, with
signature

    NewXXXHandler(io.Writer, *HandlerOptions) *XXXHandler

Fixes #59339.

Change-Id: Ia02183c5ce0dc15c64e33ad05fd69bca09df2d2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/486415
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-05-04 18:32:54 +00:00
..
fstest all: add String for fs.{FileInfo,DirEntry} implementations 2023-05-04 16:27:35 +00:00
internal/testdeps
iotest testing: use strings.Builder 2022-09-07 07:03:10 +00:00
quick database/sql,testing/quick: use reflect.Value.SetZero 2023-04-04 07:16:34 +00:00
slogtest log/slog: built-in handler constructors take options as a second arg 2023-05-04 18:32:54 +00:00
allocs_test.go
allocs.go
benchmark_test.go testing: add an example showcasing B.RunParallel with B.ReportMetric 2022-10-07 17:49:17 +00:00
benchmark.go testing: Document RunParallel ns/op behavior 2022-11-07 10:44:33 +00:00
cover.go cmd/go: support new hybrid coverage instrumentation 2022-09-28 11:50:58 +00:00
example.go std: fix various nilness findings 2023-04-20 01:07:29 +00:00
export_test.go
flag_test.go testing: quote -test.v=test2json output when logging it 2023-03-23 19:50:22 +00:00
fuzz.go all: fix typos in go file comments 2023-01-09 15:34:31 +00:00
helper_test.go cmd/go, testing: add go test -skip flag 2022-09-16 14:48:54 +00:00
helperfuncs_test.go
match_test.go cmd/go, testing: add go test -skip flag 2022-09-16 14:48:54 +00:00
match.go cmd/go, testing: add go test -skip flag 2022-09-16 14:48:54 +00:00
newcover.go runtime/coverage: improve unit tests 2022-09-29 14:13:26 +00:00
panic_test.go testing: in TestRacyOutput, ensure that the Run calls complete before cleanup 2022-11-16 17:22:19 +00:00
run_example_wasm.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
run_example.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
sub_test.go testing: in TestRacyOutput, ensure that the Run calls complete before cleanup 2022-11-16 17:22:19 +00:00
testing_other.go
testing_test.go testing: add Testing function 2023-03-13 21:58:46 +00:00
testing_windows.go
testing.go cmd/dist: actually only compile tests with -compile-only 2023-04-25 19:49:28 +00:00