Commit 674ac57
committed
Merge rust-bitcoin#5000: Kill new mutants
81e149e Add mutant excludes for serde expecting messages (Jamil Lambert, PhD)
8d3d504 Add mutant excludes for deprecated to_hex methods (Jamil Lambert, PhD)
e6ea5f4 Add missing SignedAmount tests (Jamil Lambert, PhD)
f808546 Move Amount test (Jamil Lambert, PhD)
Pull request description:
Weekly mutation testing found new mutants. There are also two in primitives found locally from changes since the last weekly run.
- Move a test for `Amount` to be with the others instead of under the `SignedAmount` test.
- Add two tests for `SignedAmount` that were previously only done for `Amount`.
- Exclude two deprecated `to_hex` functions that created mutants.
- Add an exclude that covers two `serde` `expecting` messages that created mutants.
Closes rust-bitcoin#4987
ACKs for top commit:
tcharding:
ACK 81e149e
apoelstra:
ACK 81e149e; successfully ran local tests
Tree-SHA512: e85e0f68562a1e3e850ac00e44d9d9467ef45c3aa82beb5163141d852f2bd76d783cdb6655e8ed3afdbb778b2614c3ee9e467a698909f712524879708746466b2 files changed
+31
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
| 45 | + | |
43 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
329 | 341 | | |
330 | 342 | | |
331 | 343 | | |
| |||
339 | 351 | | |
340 | 352 | | |
341 | 353 | | |
342 | | - | |
| 354 | + | |
343 | 355 | | |
344 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
345 | 369 | | |
346 | | - | |
| 370 | + | |
347 | 371 | | |
348 | 372 | | |
349 | | - | |
| 373 | + | |
350 | 374 | | |
351 | 375 | | |
352 | 376 | | |
0 commit comments