mirror of
https://github.com/alacritty/alacritty
synced 2024-09-29 04:23:53 +00:00
Fix test for Cell layout
bytes 2 and 3 are not necessarily zeroed
This commit is contained in:
parent
cbb9167d43
commit
cb2bc4eadd
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue