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