summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-10-18 14:32:23 +0100
committerGitHub <noreply@github.com>2018-10-18 14:32:23 +0100
commit3bda13298860da5a88e114d812937e727d4e8f56 (patch)
tree8c33107d9cb00eff12a6ee3bc3746f18cffd4cb7 /test
parentb8359c1114229737563bde4e2478ca2309ce6e7a (diff)
parentcc1aece1e0f8ad162cc12947c8897cd93b33d299 (diff)
downloadale-3bda13298860da5a88e114d812937e727d4e8f56.zip
Merge pull request #1991 from alskdj21/ruby_solargraph_init_options
Expose ruby-solargraph's initialization options
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_ruby_solargraph.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/command_callback/test_ruby_solargraph.vader b/test/command_callback/test_ruby_solargraph.vader
index b39f686e..c6aee271 100644
--- a/test/command_callback/test_ruby_solargraph.vader
+++ b/test/command_callback/test_ruby_solargraph.vader
@@ -37,3 +37,8 @@ Execute(should set solargraph for ruby app3):
AssertLSPLanguage 'ruby'
AssertLSPOptions {}
AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../ruby_fixtures/valid_ruby_app3')
+
+Execute(should accept initialization options):
+ AssertLSPOptions {}
+ let b:ale_ruby_solargraph_options = { 'diagnostics': 'true' }
+ AssertLSPOptions { 'diagnostics': 'true' }