mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-26 07:33:35 +03:00
Fix test for Cell layout
bytes 2 and 3 are not necessarily zeroed
This commit is contained in:
1 parent
cbb9167d43
commit
cb2bc4eadd
1 file changed
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user