Skip to content

Commit

Permalink
Merge pull request #3856 from damoasda/compiler-output-fix
Browse files Browse the repository at this point in the history
Update compiler message
  • Loading branch information
chriskrycho authored Mar 27, 2024
2 parents 19c40bf + 41f759b commit 7b886a7
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 @@ -309,7 +309,7 @@ Run the tests again:
```

Our test caught the bug! The `it_adds_two` test failed, and the message tells
us that the assertion that fails was `` assertion failed: `(left == right)` ``
us that the assertion that fails was ``assertion `left == right` failed``
and what the `left` and `right` values are. This message helps us start
debugging: the `left` argument was `4` but the `right` argument, where we had
`add_two(2)`, was `5`. You can imagine that this would be especially helpful
Expand Down

0 comments on commit 7b886a7

Please sign in to comment.