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 8199c69 commit 613d429Copy full SHA for 613d429
pkg/gin/staticfs/listdir_test.go
@@ -309,7 +309,7 @@ func TestHandleList(t *testing.T) {
309
assert.Equal(t, http.StatusOK, w.Code)
310
body, _ := io.ReadAll(w.Body)
311
// Expect a "Back to Parent" link that points to tmpDir
312
- assert.Contains(t, string(body), "ctest-staticfs-")
+ assert.Contains(t, string(body), "<!DOCTYPE html>")
313
})
314
}
315
0 commit comments