Skip to content

Commit

Permalink
fix: 'entryToEvent' unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
yiuiua committed Aug 7, 2023
1 parent 959597d commit 4c84592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logrus/logrusentry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func Test_entryToEvent(t *testing.T) {
Level: "fatal",
Extra: map[string]interface{}{},
Exception: []sentry.Exception{
{Type: "error", Value: "things failed"},
{Type: "*errors.errorString", Value: "things failed", Stacktrace: &sentry.Stacktrace{Frames: []sentry.Frame{}}},
},
},
},
Expand Down Expand Up @@ -181,7 +181,7 @@ func Test_entryToEvent(t *testing.T) {
Level: "fatal",
Extra: map[string]interface{}{},
Exception: []sentry.Exception{
{Type: "error", Value: "failure", Stacktrace: &sentry.Stacktrace{Frames: []sentry.Frame{}}},
{Type: "*errors.withStack", Value: "failure", Stacktrace: &sentry.Stacktrace{Frames: []sentry.Frame{}}},
},
},
},
Expand Down

0 comments on commit 4c84592

Please sign in to comment.