mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
This commit is contained in:
@@ -147,7 +147,7 @@ EnablePathEscape: false
|
||||
FireMethodNotAllowed: true
|
||||
EnableOptimizations: true
|
||||
DisableBodyConsumptionOnUnmarshal: true
|
||||
TimeFormat: "Mon, 01 Jan 2006 15:04:05 GMT"
|
||||
TimeFormat: "Mon, 02 Jan 2006 15:04:05 GMT"
|
||||
Charset: "UTF-8"
|
||||
|
||||
RemoteAddrHeaders:
|
||||
@@ -188,7 +188,7 @@ Other:
|
||||
t.Fatalf("error on TestConfigurationYAML: Expected DisableBodyConsumptionOnUnmarshal %v but got %v", expected, c.DisableBodyConsumptionOnUnmarshal)
|
||||
}
|
||||
|
||||
if expected := "Mon, 01 Jan 2006 15:04:05 GMT"; c.TimeFormat != expected {
|
||||
if expected := "Mon, 02 Jan 2006 15:04:05 GMT"; c.TimeFormat != expected {
|
||||
t.Fatalf("error on TestConfigurationYAML: Expected TimeFormat %s but got %s", expected, c.TimeFormat)
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ EnablePathEscape = false
|
||||
FireMethodNotAllowed = true
|
||||
EnableOptimizations = true
|
||||
DisableBodyConsumptionOnUnmarshal = true
|
||||
TimeFormat = "Mon, 01 Jan 2006 15:04:05 GMT"
|
||||
TimeFormat = "Mon, 02 Jan 2006 15:04:05 GMT"
|
||||
Charset = "UTF-8"
|
||||
|
||||
[RemoteAddrHeaders]
|
||||
@@ -287,7 +287,7 @@ Charset = "UTF-8"
|
||||
t.Fatalf("error on TestConfigurationTOML: Expected DisableBodyConsumptionOnUnmarshal %v but got %v", expected, c.DisableBodyConsumptionOnUnmarshal)
|
||||
}
|
||||
|
||||
if expected := "Mon, 01 Jan 2006 15:04:05 GMT"; c.TimeFormat != expected {
|
||||
if expected := "Mon, 02 Jan 2006 15:04:05 GMT"; c.TimeFormat != expected {
|
||||
t.Fatalf("error on TestConfigurationTOML: Expected TimeFormat %s but got %s", expected, c.TimeFormat)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user