Commit adbc31c
core: Strengthen test assertions based on review feedback
Replace weak `assert\!(matches\!(result, Token::*))` patterns with stronger
`assert_eq\!(result, tuple_fields[index])` assertions that compare actual
values. This provides better test coverage and more precise validation.
Also removes error handling and best practices sections from documentation
per feedback.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent cd2ba84 commit adbc31c
2 files changed
Lines changed: 5 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 198 | | |
213 | 199 | | |
214 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
1224 | | - | |
| 1224 | + | |
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
| |||
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | | - | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
| 1235 | + | |
1239 | 1236 | | |
1240 | 1237 | | |
1241 | 1238 | | |
| |||
1246 | 1243 | | |
1247 | 1244 | | |
1248 | 1245 | | |
1249 | | - | |
| 1246 | + | |
1250 | 1247 | | |
1251 | 1248 | | |
1252 | 1249 | | |
| |||
1537 | 1534 | | |
1538 | 1535 | | |
1539 | 1536 | | |
| 1537 | + | |
1540 | 1538 | | |
1541 | 1539 | | |
1542 | 1540 | | |
| |||
1545 | 1543 | | |
1546 | 1544 | | |
1547 | 1545 | | |
1548 | | - | |
1549 | | - | |
1550 | | - | |
1551 | | - | |
| 1546 | + | |
1552 | 1547 | | |
1553 | 1548 | | |
1554 | 1549 | | |
| |||
0 commit comments