summaryrefslogtreecommitdiff
path: root/test/handler/test_idris_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-11 22:25:15 +0100
committerw0rp <devw0rp@gmail.com>2017-09-11 22:25:15 +0100
commita7614d950208a004cb174e79e55eb4fdc988c24e (patch)
tree174c9469af814aa66c586a9393ac3a6303c22c71 /test/handler/test_idris_handler.vader
parent8eb99c3cec582d15b32cc0741952fb41b504b0da (diff)
downloadale-a7614d950208a004cb174e79e55eb4fdc988c24e.zip
Get more tests to pass on Windows
Diffstat (limited to 'test/handler/test_idris_handler.vader')
-rw-r--r--test/handler/test_idris_handler.vader10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/handler/test_idris_handler.vader b/test/handler/test_idris_handler.vader
index 1c20be7b..b1fb2a01 100644
--- a/test/handler/test_idris_handler.vader
+++ b/test/handler/test_idris_handler.vader
@@ -1,6 +1,16 @@
Before:
+ Save $TMPDIR
+
+ " Set TMPDIR so the temporary file checks work.
+ let $TMPDIR = '/tmp'
+
runtime ale_linters/idris/idris.vim
+After:
+ Restore
+
+ call ale#linter#Reset()
+
Execute(The idris handler should parse messages that reference a single column):
call ale#test#SetFilename('/tmp/foo.idr')