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 fortran handler should parse lines from GCC 4.1.2 correctly):
Before:
runtime ale_linters/fortran/gcc.vim
After:
call ale#linter#Reset()
Execute(The fortran handler should parse lines from GCC 4.1.2 correctly):
AssertEqual
\ [
\ {
@@ -31,13 +35,8 @@ Execute(The fortran handler should parse lines from GCC 4.1.2 correctly):
\ "Error: Symbol a at (1) has no IMPLICIT type",
\ ])
After:
call ale#linter#Reset()
Execute(The fortran handler should parse lines from GCC 4.9.3 correctly):
runtime ale_linters/fortran/gcc.vim
AssertEqual
\ [
\ {
@@ -68,14 +67,7 @@ Execute(The fortran handler should parse lines from GCC 4.9.3 correctly):
\ "Error: Symbol b at (1) has no IMPLICIT type",
\ ])
After:
call ale#linter#Reset()
Execute(The fortran handler should parse lines from GCC 6.3.1 correctly):
runtime ale_linters/fortran/gcc.vim
AssertEqual
\ [
\ {
@@ -101,6 +93,3 @@ Execute(The fortran handler should parse lines from GCC 6.3.1 correctly):
\ "",
\ "Error: Symbol b at (1) has no IMPLICIT type",
\ ])
After:
call ale#linter#Reset()