Exclude deprecated fn from mutation testing
Mutation testing generates mutants for deprecated functions `MedianTimePast::to_consensus_u32` and `Height::to_consensus_u32`. Add the functions to the mutation testing exclude list.
This commit is contained in:
parent
4d31b141a8
commit
f0562504b7
|
@ -25,6 +25,8 @@ exclude_re = [
|
||||||
"SignedAmount::checked_abs", # Deprecated
|
"SignedAmount::checked_abs", # Deprecated
|
||||||
"NumberOfBlocks::value", # Deprecated
|
"NumberOfBlocks::value", # Deprecated
|
||||||
"NumberOf512Seconds::to_consensus_u32", # Deprecated
|
"NumberOf512Seconds::to_consensus_u32", # Deprecated
|
||||||
|
"MedianTimePast::to_consensus_u32", # Deprecated
|
||||||
|
"Height::to_consensus_u32", # Deprecated
|
||||||
|
|
||||||
# primitives
|
# 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
|
"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
|
||||||
|
|
Loading…
Reference in New Issue