Commit 7b0c652
refactor(tests): collapse duplicate entry-point asserts to loop
Found via /simplify reuse + quality review of PR #22. Pure deduplication
of the configparser-based entry-points assertions added in 78afc07 — the
only thing varying between the two asserts was the CLI name lookup key.
Saves 3 lines, single point of maintenance, no information loss on
failure (the loop iteration variable appears in the assertion message).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eba07b8 commit 7b0c652
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
0 commit comments