summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-19 13:37:56 +0000
committerw0rp <devw0rp@gmail.com>2017-11-19 13:37:56 +0000
commit62904d39ee5dd89d14ff809cc505f7492cdddf4a (patch)
treee0955b0491891276ee7380dc9e8c1a0a934ff369 /test
parentfa7f0e2b85a252598023450336bbf4f3b320c1ef (diff)
downloadale-62904d39ee5dd89d14ff809cc505f7492cdddf4a.zip
#852 - Capture error codes for tflint
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_tflint_handler.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/handler/test_tflint_handler.vader b/test/handler/test_tflint_handler.vader
index 95671b8a..099d0926 100644
--- a/test/handler/test_tflint_handler.vader
+++ b/test/handler/test_tflint_handler.vader
@@ -10,16 +10,19 @@ Execute(The tflint handler should parse items correctly):
\ {
\ 'lnum': 12,
\ 'text': 'be warned, traveller',
+ \ 'code': 'aws_db_instance_readable_password',
\ 'type': 'W',
\ },
\ {
\ 'lnum': 9,
\ 'text': 'error message',
+ \ 'code': 'aws_elasticache_cluster_invalid_type',
\ 'type': 'E',
\ },
\ {
\ 'lnum': 5,
\ 'text': 'just so ya know',
+ \ 'code': 'aws_instance_not_specified_iam_profile',
\ 'type': 'I',
\ },
\ ],