diff options
author | NĂ©stor Coppi <nestorcoppi@gmail.com> | 2021-07-04 09:40:12 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 21:40:12 +0900 |
commit | 87e079a9b25ebf5818b8451874ce2a8bd614226f (patch) | |
tree | 20cdfa060b40d7302d6269398d82034536c17bc9 /test/linter | |
parent | 36fcb01e05979b410da1dcee10979b0f4e610eb6 (diff) | |
download | ale-87e079a9b25ebf5818b8451874ce2a8bd614226f.zip |
Solidity solc linter compatible with 0.6/0.7/0.8 (#3763)
Diffstat (limited to 'test/linter')
-rw-r--r-- | test/linter/test_solc_commit.vader | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/linter/test_solc_commit.vader b/test/linter/test_solc_commit.vader new file mode 100644 index 00000000..e25c47e7 --- /dev/null +++ b/test/linter/test_solc_commit.vader @@ -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' |