From eba004204c70524ef5d18dac6fc985fb1f84a0e3 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Fri, 1 Nov 2024 17:03:20 -0500 Subject: [PATCH] Fix expected log output This appears to have changed somewhere between golang 1.23 rc1 and golang 1.23.1 Signed-off-by: Michel Lind --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 7e9bce4..f6b2f5f 100644 --- a/example_test.go +++ b/example_test.go @@ -54,5 +54,5 @@ func ExampleNewWithOptions() { log := stdr.NewWithOptions(newStdLogger(0), stdr.Options{LogCaller: stdr.All}) log.Info("with LogCaller=All") // Output: - // "caller"={"file":"example_test.go","line":55} "level"=0 "msg"="with LogCaller=All" + // "caller"={"file"="example_test.go" "line"=55} "level"=0 "msg"="with LogCaller=All" }