We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
xor
1 parent ae25fe1 commit 650ad06Copy full SHA for 650ad06
lib/src/tests/mod.rs
@@ -2702,7 +2702,9 @@ fn match_length() {
2702
2703
#[test]
2704
fn xor() {
2705
+ pattern_true!(r#""mississippi" xor"#, b"mississippi");
2706
pattern_true!(r#""mississippi" xor"#, b"lhrrhrrhqqh");
2707
+ pattern_false!(r#""mississippi" xor"#, b"lhrrhrrhqqq");
2708
pattern_true!(r#""ssi" xor"#, b"lhrrhrrhqqh");
2709
pattern_false!(r#""miss" xor fullword"#, b"lhrrhrrhqqh");
2710
pattern_false!(r#""ppi" xor fullword"#, b"lhrrhrrhqqh");
0 commit comments