From bff40947282a2c35396df268db388bc72193b7f7 Mon Sep 17 00:00:00 2001 From: Quentin Burgess Date: Wed, 6 Dec 2023 10:39:14 +0100 Subject: [PATCH] fix(tests): unit test failed post latest changes --- handler/redoc/redoc.go | 9 ++++++++- handler/redoc/redoc_test.go | 2 +- handler/slogging/logging_test.go | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/handler/redoc/redoc.go b/handler/redoc/redoc.go index f70561a..ec6e860 100644 --- a/handler/redoc/redoc.go +++ b/handler/redoc/redoc.go @@ -97,7 +97,14 @@ const ( - + ` diff --git a/handler/redoc/redoc_test.go b/handler/redoc/redoc_test.go index 981abc3..22d5b22 100644 --- a/handler/redoc/redoc_test.go +++ b/handler/redoc/redoc_test.go @@ -20,7 +20,7 @@ func TestRedocParam(t *testing.T) { assert.Equal(t, _defPath, def.Path) assert.Contains(t, string(genContent(defRedoc())), - "") + "