mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-22 03:51:26 +08:00
Document and test solc
This commit is contained in:
13
test/command_callback/test_solc_command_callback.vader
Normal file
13
test/command_callback/test_solc_command_callback.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