summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorNathaniel Williams <nat@livewatch.com>2017-10-26 14:14:28 -0500
committerNathaniel Williams <nat@livewatch.com>2017-10-26 14:14:28 -0500
commit22e8050639cc81a35c49479839a4c3e6ea9d9cc0 (patch)
tree60ba83245fda6dc08f6bfa51ffd49716ac7f4478 /test/command_callback
parente4456a4e0e9622baf2af30acd34a28963df5f4fa (diff)
downloadale-22e8050639cc81a35c49479839a4c3e6ea9d9cc0.zip
don't use stdin with tflint
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_terraform_tflint_command_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_terraform_tflint_command_callback.vader b/test/command_callback/test_terraform_tflint_command_callback.vader
index ba768152..b0b4c955 100644
--- a/test/command_callback/test_terraform_tflint_command_callback.vader
+++ b/test/command_callback/test_terraform_tflint_command_callback.vader
@@ -21,12 +21,12 @@ Execute(The default executable should be configurable):
Execute(The default command should be good):
let g:ale_terraform_tflint_executable = 'tflint'
AssertEqual
- \ ale#Escape('tflint') . ' -f json',
+ \ ale#Escape('tflint') . ' -f json %t',
\ ale_linters#terraform#tflint#GetCommand(bufnr(''))
Execute(Overriding things should work):
let g:ale_terraform_tflint_executable = 'fnord'
let g:ale_terraform_tflint_options = '--whatever'
AssertEqual
- \ ale#Escape('fnord') . ' --whatever -f json',
+ \ ale#Escape('fnord') . ' --whatever -f json %t',
\ ale_linters#terraform#tflint#GetCommand(bufnr(''))