aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-27 09:59:58 +0100
committerGitHub <noreply@github.com>2017-02-27 09:59:58 +0100
commite502cca010357773252c686ef535bb2998aeb50b (patch)
tree8533cb3229c0de3e8e99b9ce1aff5660fa91277a /test/helpers.lua
parent73a054d84427191f70ea59fc6dc34314b28ad07c (diff)
parentc484323dc67fbca10a2f3da3d6e65efdb3c678c3 (diff)
downloadrneovim-e502cca010357773252c686ef535bb2998aeb50b.tar.gz
rneovim-e502cca010357773252c686ef535bb2998aeb50b.tar.bz2
rneovim-e502cca010357773252c686ef535bb2998aeb50b.zip
Merge #6142 from justinmk/term-modifiable
terminal: 'modifiable'; 'scrollback'; follow output only if cursor is on last line
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 1e01aaa098..25ab80bb50 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -207,7 +207,9 @@ local function check_cores(app)
out:write(('\nTests covered by this check: %u\n'):format(tests_skipped + 1))
end
tests_skipped = 0
- assert(0 == found_cores)
+ if found_cores > 0 then
+ error("crash detected (see above)")
+ end
end
return {