Skip to content

Commit 2374af4

Browse files
authored
Update echo_test.go
fix typo
1 parent 89ec007 commit 2374af4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

echo_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,16 @@ func TestEchoStatic(t *testing.T) {
9999
givenRoot: "_fixture",
100100
whenURL: "/folder",
101101
expectStatus: http.StatusMovedPermanently,
102-
expectHeaderLocation: "/static/",
102+
expectHeaderLocation: "/folder/",
103103
expectBodyStartsWith: "",
104104
},
105105
{
106106
name: "Directory Redirect with non-root path",
107107
givenPrefix: "/static",
108108
givenRoot: "_fixture",
109-
whenURL: "/folder",
109+
whenURL: "/static",
110110
expectStatus: http.StatusMovedPermanently,
111-
expectHeaderLocation: "/folder/",
111+
expectHeaderLocation: "/static/",
112112
expectBodyStartsWith: "",
113113
},
114114
{

0 commit comments

Comments
 (0)