summaryrefslogtreecommitdiff
path: root/test/handler/test_credo_handler.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_credo_handler.vader')
-rw-r--r--test/handler/test_credo_handler.vader10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/handler/test_credo_handler.vader b/test/handler/test_credo_handler.vader
index 73f98ba0..5eb0e967 100644
--- a/test/handler/test_credo_handler.vader
+++ b/test/handler/test_credo_handler.vader
@@ -1,6 +1,10 @@
-Execute(The credo handler should parse lines correctly):
+Before:
runtime ale_linters/elixir/credo.vim
+After:
+ call ale#linter#Reset()
+
+Execute(The credo handler should parse lines correctly):
AssertEqual
\ [
\ {
@@ -23,7 +27,3 @@ Execute(The credo handler should parse lines correctly):
\ 'lib/filename.ex:1:4: C: There is no whitespace around parentheses/brackets most of the time, but here there is.',
\ 'lib/phoenix/channel.ex:26: R: If/else blocks should not have a negated condition in `if`.',
\ ])
-
-After:
- call ale#linter#Reset()
-