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/phan.vim
After:
call ale#linter#Reset()
Execute(The php static analyzer handler should parse errors from phan):
AssertEqual
\ [
@@ -19,6 +22,3 @@ Execute(The php static analyzer handler should parse errors from phan):
\ "example.php:25 PhanUndeclaredTypeReturnType Return type of getValidator is undeclared type \\Respect\\Validation\\Validator",
\ "example.php:66 PhanUndeclaredClassMethod Call to method string from undeclared class \\Respect\\Validation\\Validator",
\ ])
After:
call ale#linter#Reset()