diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-30 18:20:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 18:20:49 +0900 |
commit | 2d07fa0cc2e5989f32e13dfee0cabfef9f765fdc (patch) | |
tree | a8e66b3aca0bb1d6741ac629f2842cf3ae029beb /test/command_callback | |
parent | 7c44f4e403a85ac9707c121bff3ad08a65443f0c (diff) | |
parent | dd1c665db26724ff70b72aca412896723d389126 (diff) | |
download | ale-2d07fa0cc2e5989f32e13dfee0cabfef9f765fdc.zip |
Merge pull request #3566 from hsanson/2726-fix-terraform-linter
Fix 2726 - fix terraform linter.
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_terraform_terraform_command_callback.vader | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/command_callback/test_terraform_terraform_command_callback.vader b/test/command_callback/test_terraform_terraform_command_callback.vader index fabd902d..25ca652a 100644 --- a/test/command_callback/test_terraform_terraform_command_callback.vader +++ b/test/command_callback/test_terraform_terraform_command_callback.vader @@ -6,4 +6,10 @@ After: call ale#assert#TearDownLinterTest() Execute(The default command should be correct): - AssertLinter 'terraform', ale#Escape('terraform') . ' fmt -no-color --check=true -' + AssertLinter 'terraform', + \ ale#Escape('terraform') . ' validate -no-color -json ' + +Execute(The default command should be overriden): + let b:ale_terraform_terraform_executable = '/bin/other/terraform' + AssertLinter '/bin/other/terraform', + \ ale#Escape('/bin/other/terraform') . ' validate -no-color -json ' |