summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2022-01-05 11:34:30 +0000
committerw0rp <devw0rp@gmail.com>2022-01-05 11:34:30 +0000
commit11a90ad0ff0893118cd0b09de914c53f5683eeef (patch)
tree0d80b73daef547260e7a14fa75626510d736fe09 /test
parentac0495df6ef44deff556ed450f503875370f0812 (diff)
downloadale-11a90ad0ff0893118cd0b09de914c53f5683eeef.zip
Fix execution of the Angular language server for HTML files
Diffstat (limited to 'test')
-rw-r--r--test/linter/test_angular.vader18
1 files changed, 1 insertions, 17 deletions
diff --git a/test/linter/test_angular.vader b/test/linter/test_angular.vader
index fe0749a1..2e407a00 100644
--- a/test/linter/test_angular.vader
+++ b/test/linter/test_angular.vader
@@ -22,23 +22,7 @@ Execute(The default command for Angular should be correct):
AssertLSPLanguage 'html'
AssertLSPProject ale#test#GetFilename('../test-files/angular')
- AssertLinter g:paths.ngserver, ale#Escape(g:paths.ngserver)
- \ . ' --ngProbeLocations ' . ale#Escape(g:paths.service)
- \ . ' --tsProbeLocations ' . ale#Escape(g:paths.typescript)
- \ . ' --stdio'
-
-Execute(It should be possible to use the global ngserver):
- let b:ale_html_angular_use_global = 1
-
- call ale#test#SetFilename('../test-files/angular/test.html')
- let g:paths = {
- \ 'service': ale#test#GetFilename('../test-files/angular/node_modules/@angular/language-service'),
- \ 'typescript': ale#test#GetFilename('../test-files/angular/node_modules/typescript'),
- \}
-
- AssertLSPLanguage 'html'
- AssertLSPProject ale#test#GetFilename('../test-files/angular')
- AssertLinter 'ngserver', ale#Escape('ngserver')
+ AssertLinter 'node', ale#Escape('node') . ' ' . ale#Escape(g:paths.ngserver)
\ . ' --ngProbeLocations ' . ale#Escape(g:paths.service)
\ . ' --tsProbeLocations ' . ale#Escape(g:paths.typescript)
\ . ' --stdio'