diff options
Diffstat (limited to 'test/test_common_handlers.vader')
-rw-r--r-- | test/test_common_handlers.vader | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test_common_handlers.vader b/test/test_common_handlers.vader index d9fb0060..678b9337 100644 --- a/test/test_common_handlers.vader +++ b/test/test_common_handlers.vader @@ -5,7 +5,7 @@ Execute (Run HandleCSSLintFormat): \]) Then (The loclist should be correct): - AssertEqual g:loclist, [ + AssertEqual [ \ { \ 'bufnr': 42, \ 'vcol': 0, @@ -24,7 +24,7 @@ Then (The loclist should be correct): \ 'type': 'W', \ 'text': "(known-properties) Expected ... but found 'wat'.", \ }, - \] + \], g:loclist Execute (Run HandleGCCFormat): let g:loclist = ale#handlers#HandleGCCFormat(42, [ @@ -33,7 +33,7 @@ Execute (Run HandleGCCFormat): \]) Then (The loclist should be correct): - AssertEqual g:loclist, [ + AssertEqual [ \ { \ 'bufnr': 42, \ 'vcol': 0, @@ -52,7 +52,7 @@ Then (The loclist should be correct): \ 'type': 'E', \ 'text': 'invalid operands to binary - (have ‘int’ and ‘char *’)', \ }, - \] + \], g:loclist Execute (Run HandleUnixFormatAsError): let g:loclist = ale#handlers#HandleUnixFormatAsError(42, [ @@ -61,7 +61,7 @@ Execute (Run HandleUnixFormatAsError): \]) Then (The loclist should be correct): - AssertEqual g:loclist, [ + AssertEqual [ \ { \ 'bufnr': 42, \ 'vcol': 0, @@ -80,7 +80,7 @@ Then (The loclist should be correct): \ 'type': 'E', \ 'text': 'if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)', \ }, - \] + \], g:loclist Execute (Run HandleUnixFormatAsWarning): let g:loclist = ale#handlers#HandleUnixFormatAsWarning(42, [ @@ -89,7 +89,7 @@ Execute (Run HandleUnixFormatAsWarning): \]) Then (The loclist should be correct): - AssertEqual g:loclist, [ + AssertEqual [ \ { \ 'bufnr': 42, \ 'vcol': 0, @@ -108,7 +108,7 @@ Then (The loclist should be correct): \ 'type': 'W', \ 'text': 'if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)', \ }, - \] + \], g:loclist Execute (Run a Unix format function with a Windows path): let g:loclist = ale#handlers#HandleUnixFormatAsError(42, [ @@ -117,7 +117,7 @@ Execute (Run a Unix format function with a Windows path): \]) Then (The loclist should be correct): - AssertEqual g:loclist, [ + AssertEqual [ \ { \ 'bufnr': 42, \ 'vcol': 0, @@ -136,7 +136,7 @@ Then (The loclist should be correct): \ 'type': 'E', \ 'text': 'foo', \ }, - \] + \], g:loclist After: unlet g:loclist |