Fix test for Cell layout

bytes 2 and 3 are not necessarily zeroed
This commit is contained in:
Joe Wilm committed 2016-11-17 17:16:01 -08:00
1 parent cbb9167d43
commit cb2bc4eadd
1 file changed
-2
-2
View File
@@ -152,8 +152,6 @@ pub mod cell {
let bytes: [u8; 4] = mem::transmute_copy(&ansi_color);
assert_eq!(bytes[0], 1);
assert_eq!(bytes[1], ::ansi::Color::Foreground as u8);
assert_eq!(bytes[2], 0);
assert_eq!(bytes[3], 0);
}
}
}