diff options
author | Jesse Luehrs <doy@tozt.net> | 2015-03-22 23:16:35 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-03-22 23:16:35 -0400 |
commit | afc451615ea4c1713b4b101294dbd71ab1987193 (patch) | |
tree | 8a2c3500694fd0d010f6899313b54c86e3a6522b /tests | |
parent | 72efc26b14875c9c99578ca7a2bfd26ad1dfbbf0 (diff) | |
download | matasano-afc451615ea4c1713b4b101294dbd71ab1987193.tar.gz matasano-afc451615ea4c1713b4b101294dbd71ab1987193.zip |
a few more explicit slices necessary for new rust
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib.rs b/tests/lib.rs index 1650165..5b5cac7 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -69,7 +69,7 @@ fn problem_3 () { 28372d363c78373e783a393b3736".from_hex().unwrap(); let plaintext = b"Cooking MC's like a pound of bacon"; let got = matasano::crack_single_byte_xor(&ciphertext[..]); - assert_eq!(got, plaintext); + assert_eq!(got, &plaintext[..]); } #[test] |