Minor test update
This commit is contained in:
parent
a9732fcebd
commit
e042551263
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue