summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-09-19 20:26:22 +0100
committerw0rp <devw0rp@gmail.com>2019-09-19 20:26:24 +0100
commit529f57a66f3bffc1c1681eeb12ddaaf2aa4f459f (patch)
tree53c6236a0ce4f45911415f31b141e4fa1d1dd648 /test/command_callback
parentb8949aaac33e152b195d3adf11ddbe863c0feef1 (diff)
downloadale-529f57a66f3bffc1c1681eeb12ddaaf2aa4f459f.zip
Document and test solc
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_solc_command_callback.vader13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command_callback/test_solc_command_callback.vader b/test/command_callback/test_solc_command_callback.vader
new file mode 100644
index 00000000..23521f6a
--- /dev/null
+++ b/test/command_callback/test_solc_command_callback.vader
@@ -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'