1
0
mirror of https://github.com/kataras/iris.git synced 2026-08-08 21:49:08 +00:00

CI: minor: use the new exclude-paths (dependabot PR approved some days ago)

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-16 22:48:38 +03:00
parent a8a3afea22
commit 92164cee52
37 changed files with 268 additions and 266 deletions
+3 -3
View File
@@ -101,16 +101,16 @@ func TestContainerInject(t *testing.T) {
func TestContainerUseResultHandler(t *testing.T) {
c := New()
resultLogger := func(next ResultHandler) ResultHandler {
return func(ctx iris.Context, v interface{}) error {
return func(ctx iris.Context, v any) error {
t.Logf("%#+v", v)
return next(ctx, v)
}
}
c.UseResultHandler(resultLogger)
expectedResponse := map[string]interface{}{"injected": true}
expectedResponse := map[string]any{"injected": true}
c.UseResultHandler(func(next ResultHandler) ResultHandler {
return func(ctx iris.Context, v interface{}) error {
return func(ctx iris.Context, v any) error {
return next(ctx, expectedResponse)
}
})