From fde7b2e5a48920fb9611bc558f77935b0c630926 Mon Sep 17 00:00:00 2001 From: thedae Date: Tue, 14 Jan 2025 10:51:35 +0100 Subject: [PATCH] Fix test Signed-off-by: thedae --- proxy/merging_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/merging_test.go b/proxy/merging_test.go index 2c74225e2..d2d721a79 100644 --- a/proxy/merging_test.go +++ b/proxy/merging_test.go @@ -98,9 +98,9 @@ func TestNewMergeDataMiddleware_sequential(t *testing.T) { {URLPattern: "/"}, {URLPattern: "/aaa/{{.Resp0_array}}"}, {URLPattern: "/aaa/{{.Resp0_int}}/{{.Resp0_string}}/{{.Resp0_bool}}/{{.Resp0_float}}/{{.Resp0_struct.foo}}"}, - {URLPattern: "/aaa/{{.Resp0_int}}/{{.Resp0_string}}/{{.Resp0_bool}}/{{.Resp0_float}}/{{.Resp0_struct.foo}}?x={{.Resp1_tupu}}", Encoding: "noop"}, + {URLPattern: "/aaa/{{.Resp0_int}}/{{.Resp0_string}}/{{.Resp0_bool}}/{{.Resp0_float}}/{{.Resp0_struct.foo}}?x={{.Resp1_tupu}}"}, {URLPattern: "/aaa/{{.Resp0_struct.foo}}/{{.Resp0_struct.struct.foo}}/{{.Resp0_struct.struct.struct.foo}}"}, - {URLPattern: "/zzz", Encoding: "noop"}, + {URLPattern: "/zzz", Encoding: "no-op"}, {URLPattern: "/hit-me"}, }, Timeout: time.Duration(timeout) * time.Millisecond,