mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 19:07:06 +00:00
fix #2158 and more
This commit is contained in:
@@ -13,5 +13,5 @@ func TestReadCustomViaUnmarshaler(t *testing.T) {
|
||||
expectedResponse := `Received: main.config{Addr:"localhost:8080", ServerName:"Iris"}`
|
||||
|
||||
e.POST("/").WithText("addr: localhost:8080\nserverName: Iris").Expect().
|
||||
Status(httptest.StatusOK).Body().Equal(expectedResponse)
|
||||
Status(httptest.StatusOK).Body().IsEqual(expectedResponse)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user