Skip to content

Commit

Permalink
Update io.md (#340)
Browse files Browse the repository at this point in the history
Fixed code according to the actual state
  • Loading branch information
INovozhilov authored May 6, 2020
1 parent e13270b commit 6d9a62b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion io.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6d9a62b

Please sign in to comment.