summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2015-03-22 23:16:35 -0400
committerJesse Luehrs <doy@tozt.net>2015-03-22 23:16:35 -0400
commitafc451615ea4c1713b4b101294dbd71ab1987193 (patch)
tree8a2c3500694fd0d010f6899313b54c86e3a6522b /tests
parent72efc26b14875c9c99578ca7a2bfd26ad1dfbbf0 (diff)
downloadmatasano-afc451615ea4c1713b4b101294dbd71ab1987193.tar.gz
matasano-afc451615ea4c1713b4b101294dbd71ab1987193.zip
a few more explicit slices necessary for new rust
Diffstat (limited to 'tests')
-rw-r--r--tests/lib.rs2
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]