test: fixed test for file system index check
This commit is contained in:
parent
ff36e5eb1d
commit
1613a02b8e
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ func TestFSFolderLocal(t *testing.T) {
|
||||||
func TestFSFolderIndex(t *testing.T) {
|
func TestFSFolderIndex(t *testing.T) {
|
||||||
// create new FS
|
// create new FS
|
||||||
fs := NewFS(&staticFiles)
|
fs := NewFS(&staticFiles)
|
||||||
fs.IndexFilenames = []string{"README.md"}
|
fs.IndexFileNames = []string{"README.md"}
|
||||||
|
|
||||||
// serve the request
|
// serve the request
|
||||||
tw := &testWriter{}
|
tw := &testWriter{}
|
||||||
|
|
Loading…
Add table
Reference in a new issue