summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-16 21:19:07 +0100
committerw0rp <devw0rp@gmail.com>2020-08-16 21:20:08 +0100
commit5c778e1ae752163a849609318ace6c3c6a37d6f7 (patch)
treee63994ca0e20c554caa31b43f7e1a5fa62795b4d /test/handler
parent5ceda0164c5fae0d61fd51d4c9e083b27abdc9d2 (diff)
downloadale-5c778e1ae752163a849609318ace6c3c6a37d6f7.zip
Make it easier to run tests locally
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_glslang_handler.vader3
-rw-r--r--test/handler/test_standard_handler.vader8
2 files changed, 11 insertions, 0 deletions
diff --git a/test/handler/test_glslang_handler.vader b/test/handler/test_glslang_handler.vader
index d51c9852..6d3a7999 100644
--- a/test/handler/test_glslang_handler.vader
+++ b/test/handler/test_glslang_handler.vader
@@ -1,3 +1,6 @@
+Before:
+ runtime ale_linters/glsl/glslang.vim
+
Execute(The glsl glslang handler should parse lines correctly):
AssertEqual
\ [
diff --git a/test/handler/test_standard_handler.vader b/test/handler/test_standard_handler.vader
index 59ebe531..31e3a36b 100644
--- a/test/handler/test_standard_handler.vader
+++ b/test/handler/test_standard_handler.vader
@@ -1,3 +1,11 @@
+Before:
+ Save g:ale_javascript_eslint_suppress_eslintignore
+
+ let g:ale_javascript_eslint_suppress_eslintignore = 0
+
+After:
+ Restore
+
Execute(The standard handler should parse lines correctly):
AssertEqual
\ [