From f15e461baf463da0bf9d89018180c1d5032106c1 Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Wed, 26 Mar 2025 09:50:50 +0000 Subject: [PATCH] Add an exclusion for a mutant in a deprecated fn Weekly mutation testing found a mutant in a deprecated function in SignedAmount. Exclude the function from mutation testing. --- .cargo/mutants.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml index 96f373550..f4c71f563 100644 --- a/.cargo/mutants.toml +++ b/.cargo/mutants.toml @@ -21,6 +21,7 @@ exclude_re = [ "Time::to_consensus_u32", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask "FeeRate::fee_vb", # Deprecated "FeeRate::fee_wu", # Deprecated + "SignedAmount::checked_abs", # Deprecated # primitives "Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask