diff options
author | Ty Coghlan <Coghlan.Ty@gmail.com> | 2018-09-01 20:59:36 -0400 |
---|---|---|
committer | Ty Coghlan <Coghlan.Ty@gmail.com> | 2018-09-01 21:03:29 -0400 |
commit | 3d016f1697dd25443852d18a29a20c42c753dee1 (patch) | |
tree | 4b8b935ed6d3729b26d86556064feab93a95dee0 /test/command_callback/test_scala_sbtserver.vader | |
parent | 8e3bf10592b52ba96ce94c5819a19ee8de6f0899 (diff) | |
download | ale-3d016f1697dd25443852d18a29a20c42c753dee1.zip |
Changed sbtserver to just work off of the address variable
Diffstat (limited to 'test/command_callback/test_scala_sbtserver.vader')
-rw-r--r-- | test/command_callback/test_scala_sbtserver.vader | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/command_callback/test_scala_sbtserver.vader b/test/command_callback/test_scala_sbtserver.vader index 40aacaf4..1b708bd9 100644 --- a/test/command_callback/test_scala_sbtserver.vader +++ b/test/command_callback/test_scala_sbtserver.vader @@ -5,21 +5,15 @@ Before: call ale#assert#SetUpLinterTest('scala', 'sbtserver') After: call ale#assert#TearDownLinterTest() -Execute(should set sbtserver for sbt project with active.json): +Execute(should set sbtserver for sbt project with build.sbt): call ale#test#SetFilename('../scala_fixtures/valid_sbt_project/Main.scala') AssertLSPLanguage 'scala' AssertLSPOptions {} AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../scala_fixtures/valid_sbt_project') - AssertLSPAddress '127.0.0.1:5211' -Execute(should not set sbtserver for sbt project without active.json): - call ale#test#SetFilename('../scala_fixtures/no_active_sbt_project/Main.scala') - AssertLSPLanguage 'scala' - AssertLSPOptions {} - AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../scala_fixtures/no_active_sbt_project') - AssertLSPAddress '' + AssertLSPAddress '127.0.0.1:4273' Execute(should not set sbtserver for sbt project without build.sbt): call ale#test#SetFilename('../scala_fixtures/invalid_sbt_project/Main.scala') AssertLSPLanguage 'scala' AssertLSPOptions {} AssertLSPProject '' - AssertLSPAddress '' + AssertLSPAddress '127.0.0.1:4273' |