⬆️ Upgrade to latest responsable-errors

This commit is contained in:
Dan Jones 2024-01-21 15:45:19 -06:00
commit b1e4c28dfe
4 changed files with 6 additions and 4 deletions

View file

@ -1,8 +1,8 @@
package handler
import (
"errors"
"encoding/json"
"errors"
"net/http"
"net/http/httptest"
"testing"
@ -54,7 +54,7 @@ func (s *MiddlewareTestSuite) TestNoError() {
s.do()
s.Assert().Equal("", s.w.Body.String())
}
func (s *MiddlewareTestSuite) TestResError() {
msg := "I can't find it"
err := rErrors.NewNotFound(msg)