mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-28 04:22:27 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
13
test/linter/test_fsc.vader
Normal file
13
test/linter/test_fsc.vader
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user