Skip to content

Commit

Permalink
Update compiler message
Browse files Browse the repository at this point in the history
  • Loading branch information
damoasda committed Mar 9, 2024
1 parent 19c40bf commit 41f759b
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 41f759b

Please sign in to comment.