summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortatsuya <t2h5k0@gmail.com>2021-01-06 13:22:08 +0900
committertatsuya <t2h5k0@gmail.com>2021-01-23 11:56:10 +0900
commit997dd7f8fe45030e65b418c5f46e20d808b1c5eb (patch)
treee096a71b750d6a6826410d983287766237c4f0c2 /test
parent5a47d878fbb837af4c89ab545f473f8526bd4d64 (diff)
downloadale-997dd7f8fe45030e65b418c5f46e20d808b1c5eb.zip
add spectral handler
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_spectral_handler.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handler/test_spectral_handler.vader b/test/handler/test_spectral_handler.vader
index b315168f..89a3ff1b 100644
--- a/test/handler/test_spectral_handler.vader
+++ b/test/handler/test_spectral_handler.vader
@@ -43,7 +43,7 @@ Execute(spectral handler should parse lines correctly):
\ 'type': 'E'
\ },
\ ],
- \ ale_linters#yaml#spectral#Handle(bufnr(''), [
+ \ ale#handlers#spectral#HandleSpectralOutput(bufnr(''), [
\ 'openapi.yml:1:1 warning oas3-api-servers "OpenAPI `servers` must be present and non-empty array."',
\ 'openapi.yml:1:1 error oas3-schema "Object should have required property `paths`."',
\ 'openapi.yml:1:1 warning openapi-tags "OpenAPI object should have non-empty `tags` array."',