fix module name

This commit is contained in:
2026-04-04 12:11:43 -07:00
parent d5c2c1ddf2
commit f1099e4a88
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ package router
import (
"fmt"
"io/ioutil"
"io"
"net/http"
"net/http/httptest"
"testing"
@ -115,7 +115,7 @@ func matchAndCheckRoute(r *Router, method string, path string, expectedBody stri
return
}
body, _ := ioutil.ReadAll(rr.Body)
body, _ := io.ReadAll(rr.Body)
if string(body) != string([]byte(expectedBody)) {
err = fmt.Errorf(