diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-23 01:47:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 01:47:38 +0900 |
commit | 1b010bbabb5b28cc2746ca967941ffdc9240960e (patch) | |
tree | 154566b2a760d5d0e2c57c7756a50c4dbd369358 /test/command_callback | |
parent | 9a1e91e075abf386e8c6fd620ec0835e566a7db1 (diff) | |
parent | 985a5295a9eaa4451ccf5616efd8262adbd06b39 (diff) | |
download | ale-1b010bbabb5b28cc2746ca967941ffdc9240960e.zip |
Merge pull request #3069 from nelsyeung/feature/dart-analysis-server
Add dart analysis server to linter
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_dart_analysis_server_command_callback.vader | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command_callback/test_dart_analysis_server_command_callback.vader b/test/command_callback/test_dart_analysis_server_command_callback.vader new file mode 100644 index 00000000..1754109a --- /dev/null +++ b/test/command_callback/test_dart_analysis_server_command_callback.vader @@ -0,0 +1,15 @@ +Before: + call ale#assert#SetUpLinterTest('dart', 'analysis_server') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default command should be correct): + AssertLinter 'dart', ale#Escape('dart') + \ . ' ./snapshots/analysis_server.dart.snapshot --lsp' + +Execute(The executable should be configurable): + let g:ale_dart_analysis_server_executable = 'foobar' + + AssertLinter 'foobar', ale#Escape('foobar') + \ . ' ./snapshots/analysis_server.dart.snapshot --lsp' |