Commit 246cc17
committed
Use names directly on other tests
The tests are written broadly (per the style elsewhere in this test
suite), but narrowing the message-checking tests in this specific
way has the further advantage that the logic of the code under test
will be less reflected in the logic of the tests, so that bugs are
less likely to be missed by being duplicated across code and tests.1 parent 3fe2f15 commit 246cc17
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
| 180 | + | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments