Commit db93099
committed
Use multiline failure message for asser_raise/3
Before this commit, `assert_raise/3` in ExUnit used an uncomfortable
failure message when the expected exception message and the real one
didn't match: they were both written on the same line, which caused
problems for long-ish messages.
Now, each exception message is printed on its own line, which should
make it clearer to spot differences and cleaner in general.1 parent d76cc95 commit db93099
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
396 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
| |||
0 commit comments