diff options
author | Will Leinweber <will@bitfission.com> | 2020-10-20 21:54:45 -0700 |
---|---|---|
committer | Will Leinweber <will@bitfission.com> | 2020-10-20 23:13:53 -0700 |
commit | cafe8621e2e94c8eff37a430fdccb0b87788620a (patch) | |
tree | 25bb4ff1b09a821b20aeb78e976597f9a15f7371 /test | |
parent | 557a1ed5da70cb443a8650766f4e8ea95e8c0da3 (diff) | |
download | ale-cafe8621e2e94c8eff37a430fdccb0b87788620a.zip |
Add Ruby sorbet option to enable watchman
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_sorbet_command_callback.vader | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command_callback/test_sorbet_command_callback.vader b/test/command_callback/test_sorbet_command_callback.vader index b46e90a4..fe758635 100644 --- a/test/command_callback/test_sorbet_command_callback.vader +++ b/test/command_callback/test_sorbet_command_callback.vader @@ -5,6 +5,7 @@ Before: let g:ale_ruby_sorbet_executable = 'srb' let g:ale_ruby_sorbet_options = '' + let g:ale_ruby_sorbet_enable_watchman = 0 After: call ale#assert#TearDownLinterTest() @@ -13,6 +14,12 @@ Execute(Executable should default to srb): AssertLinter 'srb', ale#Escape('srb') \ . ' tc --lsp --disable-watchman' +Execute(Able to enable watchman): + let g:ale_ruby_sorbet_enable_watchman = 1 + + AssertLinter 'srb', ale#Escape('srb') + \ . ' tc --lsp' + Execute(Should be able to set a custom executable): let g:ale_ruby_sorbet_executable = 'bin/srb' |