mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 07:32:24 +00:00
14 lines
392 B
Plaintext
14 lines
392 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('scala', 'scalac')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Given scala(An empty Scala file):
|
|
Execute(The default executable and command should be correct):
|
|
AssertLinter 'scalac', ale#Escape('scalac') . ' -Ystop-after:parser %t'
|
|
|
|
Given scala.sbt(An empty SBT file):
|
|
Execute(scalac should not be run for sbt files):
|
|
AssertLinterNotExecuted
|