mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
fix #2158 and more
This commit is contained in:
@@ -14,5 +14,5 @@ func TestSitemap(t *testing.T) {
|
||||
app.Configure(iris.WithSitemap(startURL))
|
||||
|
||||
e := httptest.New(t, app)
|
||||
e.GET("/sitemap.xml").Expect().Status(httptest.StatusOK).Body().Equal(expectedFullSitemapXML)
|
||||
e.GET("/sitemap.xml").Expect().Status(httptest.StatusOK).Body().IsEqual(expectedFullSitemapXML)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user