From 2374af470cba277b8e66bb9bc65c6816f9e9f6c5 Mon Sep 17 00:00:00 2001 From: pwli Date: Wed, 16 Dec 2020 09:37:26 +0800 Subject: [PATCH] Update echo_test.go fix typo --- echo_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/echo_test.go b/echo_test.go index 82ccad0c..895ea182 100644 --- a/echo_test.go +++ b/echo_test.go @@ -99,16 +99,16 @@ func TestEchoStatic(t *testing.T) { givenRoot: "_fixture", whenURL: "/folder", expectStatus: http.StatusMovedPermanently, - expectHeaderLocation: "/static/", + expectHeaderLocation: "/folder/", expectBodyStartsWith: "", }, { name: "Directory Redirect with non-root path", givenPrefix: "/static", givenRoot: "_fixture", - whenURL: "/folder", + whenURL: "/static", expectStatus: http.StatusMovedPermanently, - expectHeaderLocation: "/folder/", + expectHeaderLocation: "/static/", expectBodyStartsWith: "", }, {