Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix an example in the Spec Parallelization section
In the example code in the subsection, Discovering Which Parallel Process a Spec is Running On, the closure variable should be `book`.
  • Loading branch information
yuhaohaoyu authored and onsi committed Jan 10, 2022
1 parent 03dcd7e commit 6bdffde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -1731,7 +1731,7 @@ Describe("Storing books in an external database", func() {
Context("when a book is in the database", func() {
var book *books.Book
BeforeEach(func() {
lesMiserables = &books.Book{
book = &books.Book{
Title: "Les Miserables",
Author: "Victor Hugo",
Pages: 2783,
Expand Down

0 comments on commit 6bdffde

Please sign in to comment.