mirror of
https://github.com/labstack/echo.git
synced 2025-11-25 22:32:23 +02:00
@@ -9,7 +9,7 @@ import (
|
||||
func TestResponse(t *testing.T) {
|
||||
e := New()
|
||||
e.Get("/hello", func(c *Context) {
|
||||
c.String(http.StatusOK, "world")
|
||||
c.Text(http.StatusOK, "world")
|
||||
|
||||
// Status
|
||||
if c.Response.Status() != http.StatusOK {
|
||||
|
||||
Reference in New Issue
Block a user