From 9e4730d1117018917998d4c5eb3dc4cd8e0c044a Mon Sep 17 00:00:00 2001 From: Julian Rosse Date: Wed, 5 May 2021 20:46:44 -0400 Subject: [PATCH] past-tensify "lead" -> "led" --- src/ch11-01-writing-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch11-01-writing-tests.md b/src/ch11-01-writing-tests.md index 47b37f7404..c2d001bd0d 100644 --- a/src/ch11-01-writing-tests.md +++ b/src/ch11-01-writing-tests.md @@ -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