mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
use jet v5.0.2 (no breaking changes)
relative to: https://github.com/kataras/iris/pull/1616
This commit is contained in:
@@ -12,6 +12,8 @@ func TestI18nLoaderFuncMap(t *testing.T) {
|
||||
e := httptest.New(t, app)
|
||||
e.GET("/").Expect().Status(httptest.StatusOK).
|
||||
Body().Equal("Hi 2 dogs")
|
||||
e.GET("/singular").Expect().Status(httptest.StatusOK).
|
||||
Body().Equal("Hi 1 dog")
|
||||
e.GET("/").WithHeader("Accept-Language", "el").Expect().Status(httptest.StatusOK).
|
||||
Body().Equal("Γειά 2 σκυλί")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user