mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 18:37:05 +00:00
fix #2158 and more
This commit is contained in:
@@ -36,7 +36,7 @@ func TestJSONLogger(t *testing.T) {
|
||||
wg.Add(iters)
|
||||
for i := 0; i < iters; i++ {
|
||||
go func() {
|
||||
e.GET("/ping").Expect().Status(httptest.StatusOK).Body().Equal("pong")
|
||||
e.GET("/ping").Expect().Status(httptest.StatusOK).Body().IsEqual("pong")
|
||||
wg.Done()
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user