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,9 @@
Before:
runtime ale_linters/php/php.vim
After:
call ale#linter#Reset()
Given (Some invalid lines of PHP):
[foo;]
class Foo { / }
@@ -76,6 +79,3 @@ Execute (The php handler should parse lines without column indication):
\ "Parse error: syntax error, unexpected end of file in - on line 21",
\ "Parse error: Invalid numeric literal in - on line 47",
\ ])
After:
call ale#linter#Reset()