summaryrefslogtreecommitdiff
path: root/test/handler/test_tslint_handler.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_tslint_handler.vader')
-rw-r--r--test/handler/test_tslint_handler.vader7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/handler/test_tslint_handler.vader b/test/handler/test_tslint_handler.vader
index 6da218b2..ae87c52e 100644
--- a/test/handler/test_tslint_handler.vader
+++ b/test/handler/test_tslint_handler.vader
@@ -1,13 +1,10 @@
Before:
runtime ale_linters/typescript/tslint.vim
- silent! cd /testplugin/test/handler
- let g:dir = getcwd()
+ call ale#test#SetDirectory('/testplugin/test/handler')
After:
- silent execute 'cd ' . fnameescape(g:dir)
- unlet! g:dir
-
+ call ale#test#RestoreDirectory()
call ale#linter#Reset()
Execute(The tslint handler should parse lines correctly):