summaryrefslogtreecommitdiff
path: root/test/command_callback/test_solc_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_solc_command_callback.vader')
-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'