aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-11-15 09:13:40 -0800
committerJoe Wilm <joe@jwilm.com>2016-11-17 17:16:01 -0800
commitcb2bc4eadd3d149fcae4d1b552be47bc5a9413d8 (patch)
tree1d0a618d80db73deb51124eda39634d6d0ca3eff /src
parentcbb9167d434bcf6f7ffb4ff095b77f909959fc85 (diff)
downloadalacritty-cb2bc4eadd3d149fcae4d1b552be47bc5a9413d8.tar.gz
alacritty-cb2bc4eadd3d149fcae4d1b552be47bc5a9413d8.zip
Fix test for Cell layout
bytes 2 and 3 are not necessarily zeroed
Diffstat (limited to 'src')
-rw-r--r--src/term.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/term.rs b/src/term.rs
index 3fe6bdcf..6e6f7d14 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -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);
}
}
}