2018-04-05 21:04:11 +02:00
|
|
|
Before:
|
2018-07-15 18:24:53 +01:00
|
|
|
call ale#assert#SetUpLinterTest('scala', 'fsc')
|
2018-04-05 21:04:11 +02:00
|
|
|
|
|
|
|
After:
|
2018-07-15 18:24:53 +01:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-04-05 21:04:11 +02:00
|
|
|
|
|
|
|
Given scala(An empty Scala file):
|
|
|
|
Execute(The default executable and command should be correct):
|
2018-07-15 18:24:53 +01:00
|
|
|
AssertLinter 'fsc', ale#Escape('fsc') . ' -Ystop-after:parser %t'
|
2018-04-05 21:04:11 +02:00
|
|
|
|
|
|
|
Given scala.sbt(An empty SBT file):
|
|
|
|
Execute(fsc should not be run for sbt files):
|
2018-08-02 23:44:12 +01:00
|
|
|
AssertLinterNotExecuted
|