Skip to content

Commit

Permalink
Merge pull request quii#191 from Nickknack/context-test-does-not-compile
Browse files Browse the repository at this point in the history
Remove uncompilable if block from code example
  • Loading branch information
quii authored Jun 26, 2019
2 parents e455275 + cc5c24d commit 9f7e8fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions context.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,6 @@ t.Run("returns data from store", func(t *testing.T) {
if response.Body.String() != data {
t.Errorf(`got "%s", want "%s"`, response.Body.String(), data)
}

if store.ctx != request.Context() {
t.Errorf("store was not passed through a context %v", store.ctx)
}
})
```

Expand Down

0 comments on commit 9f7e8fd

Please sign in to comment.