Skip to content

Commit

Permalink
don't break standard lib message checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly authored Jul 1, 2024
1 parent 9c02bb3 commit 8f090f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json_logging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
func TestToJSON_MarshalError(t *testing.T) {
badValue := make(chan int)

expected := fmt.Sprintf("\"ERR marshaling %v: %v\"", badValue, "JSON: unsupported type: chan int")
expected := fmt.Sprintf("\"ERR marshaling %v: %v\"", badValue, "json: unsupported type: chan int")
actual := toJSON(badValue)

if actual != expected {
Expand Down

0 comments on commit 8f090f7

Please sign in to comment.