summaryrefslogtreecommitdiff
path: root/test/handler/test_fortran_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-15 17:21:17 +0000
committerw0rp <devw0rp@gmail.com>2017-11-15 17:21:17 +0000
commitb14377915b9948454322cd95a86bcc298c03f77a (patch)
treefb67e7281a8778bd4a50676a2be7fb11fd846d54 /test/handler/test_fortran_handler.vader
parente721f851b41b8f6f31067ae2a137019e1cb5546c (diff)
downloadale-b14377915b9948454322cd95a86bcc298c03f77a.zip
Clean up tests to stop people copy and pasting the wrong examples
Diffstat (limited to 'test/handler/test_fortran_handler.vader')
-rw-r--r--test/handler/test_fortran_handler.vader21
1 files changed, 5 insertions, 16 deletions
diff --git a/test/handler/test_fortran_handler.vader b/test/handler/test_fortran_handler.vader
index acd83e3c..c55a4c6f 100644
--- a/test/handler/test_fortran_handler.vader
+++ b/test/handler/test_fortran_handler.vader
@@ -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()