diff --git a/go.mod b/go.mod index e4f7b9d..d253a35 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/lmittmann/tint go 1.20 -require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb +require golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea diff --git a/go.sum b/go.sum index 6b0eb31..d559f37 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk= -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea h1:vLCWI/yYrdEHyN2JzIzPO3aaQJHQdp89IZBA/+azVC4= +golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/handler_test.go b/handler_test.go index 329c463..d16cc83 100644 --- a/handler_test.go +++ b/handler_test.go @@ -320,8 +320,8 @@ func BenchmarkLogAttrs(b *testing.B) { H slog.Handler }{ {"tint", tint.NewHandler(io.Discard)}, - {"text", slog.NewTextHandler(io.Discard)}, - {"json", slog.NewJSONHandler(io.Discard)}, + {"text", slog.NewTextHandler(io.Discard, nil)}, + {"json", slog.NewJSONHandler(io.Discard, nil)}, {"discard", new(discarder)}, }