2017-07-26 05:29:46 -04:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('scala', 'scalac')
|
2017-07-26 05:29:46 -04:00
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2017-07-26 05:29:46 -04:00
|
|
|
|
|
|
|
Given scala(An empty Scala file):
|
|
|
|
Execute(The default executable and command should be correct):
|
2018-11-17 16:02:16 -05:00
|
|
|
AssertLinter 'scalac', ale#Escape('scalac') . ' -Ystop-before:jvm %t'
|
2017-07-26 05:29:46 -04:00
|
|
|
|
|
|
|
Given scala.sbt(An empty SBT file):
|
|
|
|
Execute(scalac should not be run for sbt files):
|
2018-08-02 18:44:12 -04:00
|
|
|
AssertLinterNotExecuted
|