ale/test/command_callback/test_scalac_command_callback.vader
2018-11-17 13:02:16 -08:00

14 lines
390 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-before:jvm %t'
Given scala.sbt(An empty SBT file):
Execute(scalac should not be run for sbt files):
AssertLinterNotExecuted