From e042551263865a4b6869cbae155f6c553cc6228a Mon Sep 17 00:00:00 2001 From: haskal Date: Fri, 13 Mar 2020 17:27:27 -0400 Subject: [PATCH] Minor test update --- hptp/src/encoding.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hptp/src/encoding.rs b/hptp/src/encoding.rs index 80b1b62..e3ea8d9 100644 --- a/hptp/src/encoding.rs +++ b/hptp/src/encoding.rs @@ -95,9 +95,9 @@ mod tests { #[test] fn test_encode() { - let vec = vec!['a' as u8, 'b' as u8, 'c' as u8, 'd' as u8, + let vec = vec!['a' as u8, '4' as u8, 'c' as u8, 'd' as u8, '\n' as u8, 'e' as u8, 'f' as u8]; - assert_eq!(MeowCoder::encode(&vec), vec![0xab, 0xcd, 0xef]); + assert_eq!(MeowCoder::encode(&vec), vec![0xa4, 0xcd, 0xef]); } #[test]