Skip to content

Commit 8da0bec

Browse files
committed
Add mutation exclude for timeouts
Two functions in WitnessEncoder cause infinite loops when mutated. Add excludes for them.
1 parent 90ce314 commit 8da0bec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cargo/mutants.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ exclude_re = [
4646
"Script<T>::to_hex", # Deprecated
4747
"ScriptBuf::to_hex", # Deprecated
4848
"ScriptBuf<T>::to_hex", # Deprecated
49+
"<impl Encoder for WitnessEncoder<'a>>::current_chunk", # Replacing the return with Some(vec![]) causes an infinite loop.
50+
"<impl Encoder for WitnessEncoder<'a>>::advance", # Replacing the return with true causes an infinite loop.
4951
]

0 commit comments

Comments
 (0)