blob: 5184aa0be28b661f2ca49ab1791a63e71843a06e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|