summaryrefslogtreecommitdiff
path: root/test/linter/test_solc_commit.vader
blob: e25c47e72cdd3dcfff32503564abf4c732296674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'