Skip to content

Commit

Permalink
middleware: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Jun 10, 2024
1 parent c9cec21 commit 1acc928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var b, _ = tele.NewBot(tele.Settings{Offline: true})

func TestRecover(t *testing.T) {
onError := func(err error) {
onError := func(err error, c tele.Context) {
require.Error(t, err, "recover test")
}

Expand Down

0 comments on commit 1acc928

Please sign in to comment.