summaryrefslogtreecommitdiff
path: root/test/linter/test_fsc.vader
blob: 278e7c165f507efccdd3958599104f572cc9d0f1 (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):
  AssertLinterNotExecuted