Skip to content

Commit 59e13f1

Browse files
committed
test(stack-encrypt): refuse a match query twin whose bf repeats a position
The mutants gate found twin_query_bits' strictly-ascending check untested: no case repeated a position, so < and <= read the same. The twin refusal list now holds {"bf":[5,5]}.
1 parent 7a6b2ac commit 59e13f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/stack-encrypt/src/dynamic

‎packages/stack-encrypt/src/dynamic/query.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,6 +2205,7 @@ mod tests {
22052205
for refused in [
22062206
br#"{"bf":[]}"#.as_slice(),
22072207
br#"{"bf":[5,1]}"#,
2208+
br#"{"bf":[5,5]}"#,
22082209
br#"{"bf":[1,2048]}"#,
22092210
br#"{"bf":[-1]}"#,
22102211
br#"{"hm":"00"}"#,

0 commit comments

Comments
 (0)