diff options
Diffstat (limited to 'internal/httprange/resource_test.go')
-rw-r--r-- | internal/httprange/resource_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/httprange/resource_test.go b/internal/httprange/resource_test.go index 89d15a21..ace8f92c 100644 --- a/internal/httprange/resource_test.go +++ b/internal/httprange/resource_test.go @@ -2,7 +2,6 @@ package httprange import ( "context" - "fmt" "net/http" "net/http/httptest" "testing" @@ -60,7 +59,7 @@ func TestNewResource(t *testing.T) { "not_found": { url: "/some/resource", status: http.StatusNotFound, - expectedErrMsg: fmt.Sprintf("httprange: new resource %d: %q", http.StatusNotFound, "404 Not Found"), + expectedErrMsg: ErrNotFound.Error(), }, "invalid_url": { url: "/%", |