mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-03 18:14:01 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
13
test/linter/test_solc.vader
Normal file
13
test/linter/test_solc.vader
Normal file
@@ -0,0 +1,13 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('solidity', 'solc')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default command should be correct):
|
||||
AssertLinter 'solc', 'solc %s'
|
||||
|
||||
Execute(The options should be configurable):
|
||||
let g:ale_solidity_solc_options = '--foobar'
|
||||
|
||||
AssertLinter 'solc', 'solc --foobar %s'
|
||||
Reference in New Issue
Block a user