diff --git a/io.md b/io.md index fef5564fa..76258c10d 100644 --- a/io.md +++ b/io.md @@ -1154,7 +1154,9 @@ t.Run("league sorted", func(t *testing.T) { {"Name": "Chris", "Wins": 33}]`) defer cleanDatabase() - store := FileSystemPlayerStore{database} + store, err := NewFileSystemPlayerStore(database) + + assertNoError(t, err) got := store.GetLeague()