summaryrefslogtreecommitdiff
path: root/test/command_callback/test_fsc_command_callback.vader
blob: 5fb5e7fac87513d9324ef3364b0bc9ba31298526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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):
  AssertLinter '', ''