mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Solidity solc linter compatible with 0.6/0.7/0.8 (#3763)
This commit is contained in:
14
test/linter/test_solc_commit.vader
Normal file
14
test/linter/test_solc_commit.vader
Normal file
@@ -0,0 +1,14 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('solidity', 'solc')
|
||||
let g:ale_solidity_solc_executable = 'solc-v0.8.4+commit.c7e474f2'
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The executable command should be configurable):
|
||||
AssertLinter 'solc-v0.8.4+commit.c7e474f2', 'solc-v0.8.4+commit.c7e474f2 %s'
|
||||
|
||||
Execute(The options should be configurable):
|
||||
let g:ale_solidity_solc_options = '--foobar'
|
||||
|
||||
AssertLinter 'solc-v0.8.4+commit.c7e474f2', 'solc-v0.8.4+commit.c7e474f2 --foobar %s'
|
||||
Reference in New Issue
Block a user