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:
@@ -20,6 +20,6 @@ func TestSamePatternDifferentFuncUseGlobal(t *testing.T) {
|
||||
|
||||
for path, mainBody := range tests {
|
||||
result := fmt.Sprintf(expectedResultFmt, mainBody, path[1:])
|
||||
e.GET(path).Expect().Status(httptest.StatusOK).Body().Equal(result)
|
||||
e.GET(path).Expect().Status(httptest.StatusOK).Body().IsEqual(result)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user