summaryrefslogtreecommitdiff
path: root/test/handler/test_markdownlint_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2023-09-16 22:22:01 +0100
committerw0rp <devw0rp@gmail.com>2023-09-16 22:23:30 +0100
commitae1d0515049ed135878672e06b51b083f5ae384d (patch)
tree1556645edaf786bc934be9cc8cc63408e65054d4 /test/handler/test_markdownlint_handler.vader
parent4b11cf21dc8406b579b89e50ae3f08ef2c0856e1 (diff)
downloadale-ae1d0515049ed135878672e06b51b083f5ae384d.zip
#4454 Clean up more tests and code
* Remove some tests we no longer need * Delete blocks of redundant code * Compress some tests together to simplify them * Remove a little code for ancient linter versions * Escape more executables we didn't escape before * Rename a deno option that didn't match our conventions
Diffstat (limited to 'test/handler/test_markdownlint_handler.vader')
-rw-r--r--test/handler/test_markdownlint_handler.vader59
1 files changed, 1 insertions, 58 deletions
diff --git a/test/handler/test_markdownlint_handler.vader b/test/handler/test_markdownlint_handler.vader
index f2e6e328..f49dba97 100644
--- a/test/handler/test_markdownlint_handler.vader
+++ b/test/handler/test_markdownlint_handler.vader
@@ -4,64 +4,7 @@ Before:
After:
call ale#linter#Reset()
-Execute(The Markdownlint handler should parse pre v0.19.0 output with single digit line correctly):
- AssertEqual
- \ [
- \ {
- \ 'lnum': 1,
- \ 'code': 'MD013/line-length',
- \ 'text': 'Line length [Expected: 80; Actual: 114]',
- \ 'type': 'W'
- \ }
- \ ],
- \ ale#handlers#markdownlint#Handle(0, [
- \ 'README.md: 1: MD013/line-length Line length [Expected: 80; Actual: 114]'
- \ ])
-
-Execute(The Markdownlint handler should parse pre v0.19.0 output with multi digit line correctly):
- AssertEqual
- \ [
- \ {
- \ 'lnum': 100,
- \ 'code': 'MD013/line-length',
- \ 'text': 'Line length [Expected: 80; Actual: 114]',
- \ 'type': 'W'
- \ }
- \ ],
- \ ale#handlers#markdownlint#Handle(0, [
- \ 'README.md: 100: MD013/line-length Line length [Expected: 80; Actual: 114]'
- \ ])
-
-Execute(The Markdownlint handler should parse post v0.19.0 output with single digit line correctly):
- AssertEqual
- \ [
- \ {
- \ 'lnum': 1,
- \ 'code': 'MD013/line-length',
- \ 'text': 'Line length [Expected: 80; Actual: 114]',
- \ 'type': 'W'
- \ }
- \ ],
- \ ale#handlers#markdownlint#Handle(0, [
- \ 'README.md:1 MD013/line-length Line length [Expected: 80; Actual: 114]'
- \ ])
-
-Execute(The Markdownlint handler should parse post v0.19.0 output with multi digit line correctly):
- AssertEqual
- \ [
- \ {
- \ 'lnum': 100,
- \ 'code': 'MD013/line-length',
- \ 'text': 'Line length [Expected: 80; Actual: 114]',
- \ 'type': 'W'
- \ }
- \ ],
- \ ale#handlers#markdownlint#Handle(0, [
- \ 'README.md:100 MD013/line-length Line length [Expected: 80; Actual: 114]'
- \ ])
-
-
-Execute(The Markdownlint handler should parse post v0.22.0 output with column correctly):
+Execute(The Markdownlint handler should parse output with a column correctly):
AssertEqual
\ [
\ {