Skip to content

Commit

Permalink
added test for the error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroargentieri committed Apr 11, 2023
1 parent 721de8d commit 25a3048
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ func TestAdaptMessage(t *testing.T) {
struct{ test string }{"Hello test"}: "{Hello test}",
"Hi message": "Hi message",
`{"name": "John", "surname": "Doe"}`: `map[name:John surname:Doe]`,
fmt.Errorf("Nice error!"): "Nice error!",
}

var b bytes.Buffer
Expand Down

0 comments on commit 25a3048

Please sign in to comment.