diff --git a/fs_test.go b/fs_test.go index 7f79a72..470d9f8 100644 --- a/fs_test.go +++ b/fs_test.go @@ -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{}