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: "", }, {