Skip to content

Commit 9826e8b

Browse files
committed
tests: add test case for better coverage of xorpattern modifier.
1 parent 650ad06 commit 9826e8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/tests/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,6 +2703,7 @@ fn match_length() {
27032703
#[test]
27042704
fn xor() {
27052705
pattern_true!(r#""mississippi" xor"#, b"mississippi");
2706+
pattern_false!(r#""mississippi" xor"#, b"mississippp");
27062707
pattern_true!(r#""mississippi" xor"#, b"lhrrhrrhqqh");
27072708
pattern_false!(r#""mississippi" xor"#, b"lhrrhrrhqqq");
27082709
pattern_true!(r#""ssi" xor"#, b"lhrrhrrhqqh");

0 commit comments

Comments
 (0)