mirror of
https://github.com/alacritty/alacritty.git
synced 2025-04-21 18:02:37 -04:00
Fix test for Cell layout
bytes 2 and 3 are not necessarily zeroed
This commit is contained in:
parent
cbb9167d43
commit
cb2bc4eadd
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue