Skip to content

Commit

Permalink
Merge pull request quii#116 from qclaogui/master
Browse files Browse the repository at this point in the history
actually,there's no error returning here
  • Loading branch information
quii authored Jul 31, 2018
2 parents e7d7bfc + e66d8cd commit c77c1b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions io.md
Original file line number Diff line number Diff line change
Expand Up @@ -1156,8 +1156,7 @@ t.Run("league sorted", func(t *testing.T) {

store := FileSystemPlayerStore{database}

got, err := store.GetLeague()
assertNoError(t, err)
got := store.GetLeague()

want := []Player{
{"Chris", 33},
Expand All @@ -1167,8 +1166,7 @@ t.Run("league sorted", func(t *testing.T) {
assertLeague(t, got, want)

// read again
got, err = store.GetLeague()
assertNoError(t, err)
got = store.GetLeague()
assertLeague(t, got, want)
})
```
Expand Down

0 comments on commit c77c1b2

Please sign in to comment.