Commit 7978fdb
authored
bottle-song: Use pretty_assertions (#2116)
The strings being compared in the tests are rather long. If they don't
match, it can be difficult to spot what's wrong from the output of the
regular assert_eq macro. Using pretty_assertions solves this problem.
[no important files changed]1 parent 6dfcdeb commit 7978fdb
File tree
2 files changed
+4
-0
lines changed- exercises/practice/bottle-song
- tests
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments