Minor test update

This commit is contained in:
xenia 2020-03-13 17:27:27 -04:00
parent a9732fcebd
commit e042551263
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ mod tests {
#[test] #[test]
fn test_encode() { 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]; '\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] #[test]