We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ec007 commit 2374af4Copy full SHA for 2374af4
echo_test.go
@@ -99,16 +99,16 @@ func TestEchoStatic(t *testing.T) {
99
givenRoot: "_fixture",
100
whenURL: "/folder",
101
expectStatus: http.StatusMovedPermanently,
102
- expectHeaderLocation: "/static/",
+ expectHeaderLocation: "/folder/",
103
expectBodyStartsWith: "",
104
},
105
{
106
name: "Directory Redirect with non-root path",
107
givenPrefix: "/static",
108
109
- whenURL: "/folder",
+ whenURL: "/static",
110
111
- expectHeaderLocation: "/folder/",
+ expectHeaderLocation: "/static/",
112
113
114
0 commit comments