1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-25 22:32:23 +02:00

more coverage

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-04-05 15:30:03 -07:00
parent 550cd94dbe
commit c2d29f3895
6 changed files with 44 additions and 51 deletions

View File

@@ -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 {