Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Shen <overvenus@gmail.com>
  • Loading branch information
overvenus committed Dec 16, 2021
1 parent 8ff1341 commit e279f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/context/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestThrowPanic(t *testing.T) {
t.Parallel()
defer func() {
panicMsg := recover()
require.Equal(t, panicMsg, "an error has escaped, please report a bug{error 26 0 mock error}")
require.Equal(t, panicMsg, "an error has escaped, please report a bug")
}()
stdCtx := context.Background()
ctx := NewContext(stdCtx, &GlobalVars{})
Expand Down

0 comments on commit e279f7f

Please sign in to comment.