test: fixed test for file system index check

This commit is contained in:
Martin Riedl 2024-07-02 01:36:56 +02:00
parent ff36e5eb1d
commit 1613a02b8e
Signed by: martinr92
GPG key ID: FB68DA65516A804C

View file

@ -159,7 +159,7 @@ func TestFSFolderLocal(t *testing.T) {
func TestFSFolderIndex(t *testing.T) {
// create new FS
fs := NewFS(&staticFiles)
fs.IndexFilenames = []string{"README.md"}
fs.IndexFileNames = []string{"README.md"}
// serve the request
tw := &testWriter{}