summaryrefslogtreecommitdiff
path: root/test/handler/test_yamllint_handler.vader
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2019-10-27 00:16:23 +0900
committerHoracio Sanson <horacio@allm.inc>2021-01-22 23:17:38 +0900
commit014b00d4d778bbfe027e927183b44ce3424679b4 (patch)
treef1d79c2874f3fe6b4f5c31fdd10c2eb8716f7077 /test/handler/test_yamllint_handler.vader
parent03eae9e085f6020a017ecbe761cccac9a5a89d77 (diff)
downloadale-014b00d4d778bbfe027e927183b44ce3424679b4.zip
Add yamllint and prettier to openapi.
This commit enables yamllint and prettier on openapi files.
Diffstat (limited to 'test/handler/test_yamllint_handler.vader')
-rw-r--r--test/handler/test_yamllint_handler.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/handler/test_yamllint_handler.vader b/test/handler/test_yamllint_handler.vader
index 1aa0b9f5..dd51119c 100644
--- a/test/handler/test_yamllint_handler.vader
+++ b/test/handler/test_yamllint_handler.vader
@@ -3,7 +3,7 @@ Before:
let g:ale_warn_about_trailing_whitespace = 1
- runtime! ale_linters/yaml/yamllint.vim
+ runtime! ale/handlers/yamllint.vim
After:
Restore
@@ -29,7 +29,7 @@ Execute(Problems should be parsed correctly for yamllint):
\ 'text': 'syntax error: expected the node content, but found ''<stream end>''',
\ },
\ ],
- \ ale_linters#yaml#yamllint#Handle(bufnr(''), [
+ \ ale#handlers#yamllint#Handle(bufnr(''), [
\ 'something.yaml:1:1: [warning] missing document start "---" (document-start)',
\ 'something.yml:2:1: [error] syntax error: expected the node content, but found ''<stream end>''',
\ ])
@@ -45,7 +45,7 @@ Execute(The yamllint handler should respect ale_warn_about_trailing_whitespace):
\ 'code': 'trailing-spaces',
\ },
\ ],
- \ ale_linters#yaml#yamllint#Handle(bufnr(''), [
+ \ ale#handlers#yamllint#Handle(bufnr(''), [
\ 'something.yml:5:18: [error] trailing spaces (trailing-spaces)',
\ ])
@@ -54,6 +54,6 @@ Execute(The yamllint handler should respect ale_warn_about_trailing_whitespace):
AssertEqual
\ [
\ ],
- \ ale_linters#yaml#yamllint#Handle(bufnr(''), [
+ \ ale#handlers#yamllint#Handle(bufnr(''), [
\ 'something.yml:5:18: [error] trailing spaces (trailing-spaces)',
\ ])