summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBartek thindil Jasicki <thindil@laeran.pl>2020-12-18 10:04:19 +0100
committerBartek thindil Jasicki <thindil@laeran.pl>2020-12-18 10:04:19 +0100
commit8af805cefec9cbf64efd34760a69fc025b37eed8 (patch)
tree222fbaaafd1e2c54921bf9e468274384509c178f /test
parentb85207d524c4fab07a140866cc6a5fee1c46e523 (diff)
parentf996ede5999c99b1b3e3cecc02dbd06cb286d3ff (diff)
downloadale-8af805cefec9cbf64efd34760a69fc025b37eed8.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_sorbet_command_callback.vader7
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'