diff options
author | Horacio Sanson <hsanson@gmail.com> | 2020-12-16 09:48:35 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 09:48:35 +0900 |
commit | f996ede5999c99b1b3e3cecc02dbd06cb286d3ff (patch) | |
tree | 3c55bcdb2395e362c06e95300354d5305a9e0074 /test | |
parent | 03b6978a270107b670b0363d50f3eed4b365ba26 (diff) | |
parent | cafe8621e2e94c8eff37a430fdccb0b87788620a (diff) | |
download | ale-f996ede5999c99b1b3e3cecc02dbd06cb286d3ff.zip |
Merge pull request #3403 from will/sorbetwatchman
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' |