summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-21 00:21:49 +0000
committerw0rp <devw0rp@gmail.com>2021-03-21 00:25:33 +0000
commitf7852dbd0a063d6d82ee17a5057fea53cb79b21d (patch)
tree00b98a3c668af9313eedd6936475c81eeef7e9b8 /test/handler
parent35caaecc9fc5822f0474e913d0b7655048fd30ee (diff)
downloadale-f7852dbd0a063d6d82ee17a5057fea53cb79b21d.zip
#3633 - Move linter tests into test/linter
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_lacheck_handler.vader6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/handler/test_lacheck_handler.vader b/test/handler/test_lacheck_handler.vader
index 5a4f92dd..5d1b6ace 100644
--- a/test/handler/test_lacheck_handler.vader
+++ b/test/handler/test_lacheck_handler.vader
@@ -1,14 +1,13 @@
Before:
runtime ale_linters/tex/lacheck.vim
- call ale#test#SetDirectory('/testplugin/test')
+ call ale#test#SetDirectory('/testplugin/test/handler')
After:
call ale#linter#Reset()
call ale#test#RestoreDirectory()
Execute(The lacheck handler should parse lines correctly):
-
- call ale#test#SetFilename('command_callback/../test-files/tex/sample1.tex')
+ call ale#test#SetFilename('../test-files/tex/sample1.tex')
AssertEqual
\ [
@@ -24,7 +23,6 @@ Execute(The lacheck handler should parse lines correctly):
\ ])
Execute(The lacheck handler should ignore errors from input files):
-
call ale#test#SetFilename('ale_test.tex')
AssertEqual