Commit f031997
fix: rename tautological test to honest roundtrip
test_header_decode_wraps_struct_error claimed to test struct.error
wrapping but actually performed a successful roundtrip on valid
data. The struct.error path in Header.decode is unreachable because
the length check fires first. Rename to test_header_roundtrip_minimal
to honestly describe what the test exercises.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e2ccf4e commit f031997
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 161 | + | |
| 162 | + | |
168 | 163 | | |
169 | 164 | | |
170 | | - | |
171 | 165 | | |
172 | 166 | | |
173 | 167 | | |
| |||
0 commit comments