Skip to content

Commit

Permalink
past-tensify "lead" -> "led"
Browse files Browse the repository at this point in the history
  • Loading branch information
helixbass committed May 6, 2021
1 parent 50dd06c commit 9e4730d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch11-01-writing-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ more conveniently. These macros compare two arguments for equality or
inequality, respectively. They’ll also print the two values if the assertion
fails, which makes it easier to see *why* the test failed; conversely, the
`assert!` macro only indicates that it got a `false` value for the `==`
expression, not the values that lead to the `false` value.
expression, not the values that led to the `false` value.

In Listing 11-7, we write a function named `add_two` that adds `2` to its
parameter and returns the result. Then we test this function using the
Expand Down

0 comments on commit 9e4730d

Please sign in to comment.