summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-05-29 23:28:50 +0100
committerGitHub <noreply@github.com>2019-05-29 23:28:50 +0100
commit4f02edc3f882e6cb77b8dc03bc118172cfe5d857 (patch)
tree453ba538361d3d78e5acea00a11638a5f396e48b /test/command_callback
parent166435dbf15f122fb59fc4ca36998ddf671e48de (diff)
parent88fa0b9294c6e907e8e2e8bee2ca593dff91b473 (diff)
downloadale-4f02edc3f882e6cb77b8dc03bc118172cfe5d857.zip
Merge pull request #2529 from maxwell-k/terraform_linter
Add a terraform linter
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_terraform_terraform_command_callback.vader9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command_callback/test_terraform_terraform_command_callback.vader b/test/command_callback/test_terraform_terraform_command_callback.vader
new file mode 100644
index 00000000..fabd902d
--- /dev/null
+++ b/test/command_callback/test_terraform_terraform_command_callback.vader
@@ -0,0 +1,9 @@
+" Based upon :help ale-development
+Before:
+ call ale#assert#SetUpLinterTest('terraform', 'terraform')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'terraform', ale#Escape('terraform') . ' fmt -no-color --check=true -'