Commit 21cec06
committed
tests: salvage missing coverage from orphan, delete the stale file
You called my bluff -- the orphan Tests/Std/BitVec.Pattern.c wasn't
purely dead. Diff between it and the registered Simple/Deadend pair
showed test_bitvec_find_all_pattern_vec was real coverage that
neither registered file had: it tests BitVecFindAllPattern in its
3-arg Vec form (BitVecFindAllPattern(&source, &pattern, &matches)),
whereas Simple only tested the 4-arg raw form with a fixed-size
results buffer.
Salvaged the test verbatim into BitVec.Pattern.Simple.c (with
.data/.length swapped for VecLen/VecAt per the test-side accessor
convention) and registered it in the test list. Then deleted the
orphan -- it was 1376 lines, of which 88 tests duplicated the
registered files and most of the rest referenced stale API
(BitVecContains, the 3-arg BitVecPrefixMatch/SuffixMatch shapes
that don't exist anymore).
Drops .audit-questions.md item 2; only Allocator/Debug.c warnings
remain.1 parent 91a02e5 commit 21cec06
3 files changed
Lines changed: 61 additions & 1377 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
253 | 293 | | |
254 | 294 | | |
255 | 295 | | |
| |||
982 | 1022 | | |
983 | 1023 | | |
984 | 1024 | | |
985 | | - | |
| 1025 | + | |
| 1026 | + | |
986 | 1027 | | |
987 | 1028 | | |
988 | 1029 | | |
| |||
0 commit comments