This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/test_fsc_command_callback.vader

14 lines
380 B
Text
Raw Normal View History

Before:
call ale#assert#SetUpLinterTest('scala', 'fsc')
After:
call ale#assert#TearDownLinterTest()
Given scala(An empty Scala file):
Execute(The default executable and command should be correct):
AssertLinter 'fsc', ale#Escape('fsc') . ' -Ystop-after:parser %t'
Given scala.sbt(An empty SBT file):
Execute(fsc should not be run for sbt files):
AssertLinterNotExecuted