summaryrefslogtreecommitdiff
path: root/test/test_lint_error_delay.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-12 10:47:06 +0100
committerw0rp <devw0rp@gmail.com>2017-08-12 10:47:06 +0100
commit7614560a6e64a6a332cb3663afd7038497197cb7 (patch)
treea35c42bc421828a74284c201e14d40ea9cbc0ac7 /test/test_lint_error_delay.vader
parent8e9130d66eb9b404957e98bedfd6ebffb9a6a4b8 (diff)
downloadale-7614560a6e64a6a332cb3663afd7038497197cb7.zip
#468 - Do not try to echo things for a while if something goes wrong
Diffstat (limited to 'test/test_lint_error_delay.vader')
-rw-r--r--test/test_lint_error_delay.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_lint_error_delay.vader b/test/test_lint_error_delay.vader
index 32d82715..4c7f0947 100644
--- a/test/test_lint_error_delay.vader
+++ b/test/test_lint_error_delay.vader
@@ -16,3 +16,11 @@ Execute(ALE should stop queuing for a while after exceptions are thrown):
Execute(ALE should stop linting for a while after exceptions are thrown):
AssertThrows call ale#Lint()
call ale#Lint()
+
+Execute(ALE should stop queuing echo messages for a while after exceptions are thrown):
+ AssertThrows call ale#cursor#EchoCursorWarningWithDelay()
+ call ale#cursor#EchoCursorWarningWithDelay()
+
+Execute(ALE should stop echoing messages for a while after exceptions are thrown):
+ AssertThrows call ale#cursor#EchoCursorWarning()
+ call ale#cursor#EchoCursorWarning()