Skip to content

Commit

Permalink
Fix expected log output
Browse files Browse the repository at this point in the history
This appears to have changed somewhere between golang 1.23 rc1 and
golang 1.23.2

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
  • Loading branch information
michel-slm committed Nov 1, 2024
1 parent 96bad1d commit baa1018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit baa1018

Please sign in to comment.