diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-09-06 20:34:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-06 20:34:34 +0100 |
commit | e0fe97e0a8e929bef9bd4d677c066968be70e914 (patch) | |
tree | 746644494becca5c1d61bd479e413c4b91e2dacb /test | |
parent | 7b62a157390b6abb8a41efe2c5ddbf75b1888843 (diff) | |
parent | 044c762c85a8a1b79dc2728fad4c593195293303 (diff) | |
download | ale-e0fe97e0a8e929bef9bd4d677c066968be70e914.zip |
Merge pull request #1883 from hsanson/add-solargraph-yml-to-root-path-search
Add solargraph.yml file as root path search file.
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_ruby_solargraph.vader | 7 | ||||
-rw-r--r-- | test/ruby_fixtures/valid_ruby_app3/.solargraph.yml | 0 | ||||
-rw-r--r-- | test/ruby_fixtures/valid_ruby_app3/lib/file.rb | 0 |
3 files changed, 7 insertions, 0 deletions
diff --git a/test/command_callback/test_ruby_solargraph.vader b/test/command_callback/test_ruby_solargraph.vader index a27cb62d..b9dd46d8 100644 --- a/test/command_callback/test_ruby_solargraph.vader +++ b/test/command_callback/test_ruby_solargraph.vader @@ -27,3 +27,10 @@ Execute(should set solargraph for ruby app2): AssertLSPOptions {} AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../ruby_fixtures/valid_ruby_app2') AssertLSPAddress '127.0.0.1:7658' + +Execute(should set solargraph for ruby app3): + call ale#test#SetFilename('../ruby_fixtures/valid_ruby_app3/lib/file.rb') + AssertLSPLanguage 'ruby' + AssertLSPOptions {} + AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../ruby_fixtures/valid_ruby_app3') + AssertLSPAddress '127.0.0.1:7658' diff --git a/test/ruby_fixtures/valid_ruby_app3/.solargraph.yml b/test/ruby_fixtures/valid_ruby_app3/.solargraph.yml new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/ruby_fixtures/valid_ruby_app3/.solargraph.yml diff --git a/test/ruby_fixtures/valid_ruby_app3/lib/file.rb b/test/ruby_fixtures/valid_ruby_app3/lib/file.rb new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/ruby_fixtures/valid_ruby_app3/lib/file.rb |