summaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests/ref.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-07-10 21:17:20 +0000
committerGitHub <noreply@github.com>2019-07-10 21:17:20 +0000
commitc4d2725e14ca9488b1b086024bf827c66945ae7b (patch)
treed8fd69f06671b30aa2df5c9bd5a0d161fabcfbc9 /alacritty_terminal/tests/ref.rs
parenta99547cc6dc1d752b29de785f969591c1ed74782 (diff)
downloadalacritty-c4d2725e14ca9488b1b086024bf827c66945ae7b.tar.gz
alacritty-c4d2725e14ca9488b1b086024bf827c66945ae7b.zip
Fix row occ not set during new and reset
Since ref tests were only stored whenever winit requested the window close, they would not get stored properly when the terminal was closed through Alacritty using `exit`, Ctrl+D or similar. This moves the ref test code to the and of the main entry point, which will always be executed regardless of how the terminal was shutdown. Fixes #2613.
Diffstat (limited to 'alacritty_terminal/tests/ref.rs')
-rw-r--r--alacritty_terminal/tests/ref.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs
index 135b5f25..91c0b6ee 100644
--- a/alacritty_terminal/tests/ref.rs
+++ b/alacritty_terminal/tests/ref.rs
@@ -52,6 +52,7 @@ ref_tests! {
zsh_tab_completion
history
grid_reset
+ row_reset
zerowidth
}