summaryrefslogtreecommitdiff
path: root/tests/ref.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-02-27 08:03:08 -0800
committerJoe Wilm <jwilm@users.noreply.github.com>2017-02-27 08:05:11 -0800
commit53507ce7d0b06f33c1a957ffe4e8eddda0e99fbb (patch)
treea1c202cbc19aa8c95811757bb20283af150c0c63 /tests/ref.rs
parent96a1503040787006a45a69dc55916d983d96421e (diff)
downloadalacritty-53507ce7d0b06f33c1a957ffe4e8eddda0e99fbb.tar.gz
alacritty-53507ce7d0b06f33c1a957ffe4e8eddda0e99fbb.zip
Add ref test for tab background highlighting
Generated with echo -e "\x1b[48;5;31m1\t2\n\n3\x1b[0;m"
Diffstat (limited to 'tests/ref.rs')
-rw-r--r--tests/ref.rs22
1 files changed, 10 insertions, 12 deletions
diff --git a/tests/ref.rs b/tests/ref.rs
index 868771b6..98f1ed4a 100644
--- a/tests/ref.rs
+++ b/tests/ref.rs
@@ -12,10 +12,7 @@ use alacritty::term::SizeInfo;
use alacritty::ansi;
macro_rules! ref_tests {
- ($($name:ident,)*) => {
- ref_tests!($($name),*);
- };
- ($($name:ident),*) => {
+ ($($name:ident)*) => {
$(
#[test]
fn $name() {
@@ -28,14 +25,15 @@ macro_rules! ref_tests {
}
ref_tests! {
- fish_cc,
- indexed_256_colors,
- ll,
- tmux_git_log,
- tmux_htop,
- vim_large_window_scroll,
- vim_simple_edit,
- zsh_tab_completion,
+ fish_cc
+ indexed_256_colors
+ ll
+ tab_bg_highlight
+ tmux_git_log
+ tmux_htop
+ vim_large_window_scroll
+ vim_simple_edit
+ zsh_tab_completion
}
fn read_u8<P>(path: P) -> Vec<u8>