Clean up tests to stop people copy and pasting the wrong examples

This commit is contained in:
w0rp
2017-11-15 17:21:17 +00:00
parent e721f851b4
commit b14377915b
35 changed files with 133 additions and 104 deletions

View File

@@ -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()