mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-25 05:21:08 +08:00
#3633 - Put all dummy test files in test/test-files
This commit is contained in:
@@ -23,9 +23,9 @@ Execute(The yaml spectral command callback should allow a global installation to
|
||||
\ . ' lint --ignore-unknown-format -q -f text %t'
|
||||
|
||||
Execute(The yaml spectral command callback should allow a local installation to be used):
|
||||
call ale#test#SetFilename('spectral_paths/openapi.yaml')
|
||||
call ale#test#SetFilename('../test-files/spectral/openapi.yaml')
|
||||
|
||||
AssertLinter
|
||||
\ ale#path#Simplify(g:dir . '/spectral_paths/node_modules/.bin/spectral'),
|
||||
\ ale#Escape(ale#path#Simplify(g:dir . '/spectral_paths/node_modules/.bin/spectral'))
|
||||
\ ale#path#Simplify(g:dir . '/../test-files/spectral/node_modules/.bin/spectral'),
|
||||
\ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/spectral/node_modules/.bin/spectral'))
|
||||
\ . ' lint --ignore-unknown-format -q -f text %t'
|
||||
|
||||
Reference in New Issue
Block a user