mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
fix #2158 and more
This commit is contained in:
@@ -12,5 +12,5 @@ func TestReadURL(t *testing.T) {
|
||||
e := httptest.New(t, app)
|
||||
|
||||
expectedBody := `myURL: main.myURL{Name:"kataras", Age:27, Tail:[]string{"iris", "web", "framework"}}`
|
||||
e.GET("/iris/web/framework").WithQuery("name", "kataras").WithQuery("age", 27).Expect().Status(httptest.StatusOK).Body().Equal(expectedBody)
|
||||
e.GET("/iris/web/framework").WithQuery("name", "kataras").WithQuery("age", 27).Expect().Status(httptest.StatusOK).Body().IsEqual(expectedBody)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user