mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 04:47:02 +00:00
minor
This commit is contained in:
@@ -90,7 +90,7 @@ func TestEmbeddingFilesIntoApp(t *testing.T) {
|
||||
|
||||
e.GET(url).Expect().
|
||||
Status(httptest.StatusOK).
|
||||
ContentType(u.contentType(), app.ConfigurationReadOnly().GetCharset()).
|
||||
ContentType(u.contentType()).
|
||||
Body().Equal(contents)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@ func (r resource) loadFromBase(dir string) string {
|
||||
|
||||
if runtime.GOOS != "windows" {
|
||||
result = strings.ReplaceAll(result, "\n", "\r\n")
|
||||
result = strings.ReplaceAll(result, "\r\r", "")
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user