Skip to content

Commit

Permalink
fix TestWrapWithFieldsAndStack
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Sep 27, 2024
1 parent 181d964 commit d4eda9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestWrapWithFieldsAndStack(t *testing.T) {
caller := callstack.GetLastFrame(trace)
assert.Contains(t, fmt.Sprintf("%+v", stack), "errors/stack_test.go:18")
assert.Equal(t, "errors_test.TestWrapWithFieldsAndStack", caller.Func)
assert.Equal(t, 18, caller.LineNo)
assert.Equal(t, 17, caller.LineNo)
}

func TestStack(t *testing.T) {
Expand Down

0 comments on commit d4eda9b

Please sign in to comment.