diff --git a/test/helpers/terraform-config-json/multiline_expressions.json b/test/helpers/terraform-config-json/multiline_expressions.json new file mode 100644 index 00000000..c7c59040 --- /dev/null +++ b/test/helpers/terraform-config-json/multiline_expressions.json @@ -0,0 +1,32 @@ +{ + "resource": [ + { + "null_resource": { + "multiline_comment_multiline": { + "triggers": [] + } + } + }, + { + "null_resource": { + "multiline_comment_single_line_before_closing_bracket": { + "triggers": [] + } + } + }, + { + "null_resource": { + "multiline_comment_single_line_between_brackets": { + "triggers": [] + } + } + }, + { + "null_resource": { + "multiline_comment_single_line_after_opening_bracket": { + "triggers": [] + } + } + } + ] +} diff --git a/test/helpers/terraform-config/multiline_expressions.tf b/test/helpers/terraform-config/multiline_expressions.tf new file mode 100644 index 00000000..50b578df --- /dev/null +++ b/test/helpers/terraform-config/multiline_expressions.tf @@ -0,0 +1,22 @@ +resource "null_resource" "multiline_comment_multiline" { + triggers = [ + /* "a", + "b" */ + ] +} + +resource "null_resource" "multiline_comment_single_line_before_closing_bracket" { + triggers = [ + /* "a", "b" */ ] +} + +resource "null_resource" "multiline_comment_single_line_between_brackets" { + triggers = [ + /* "a", "b" */ + ] +} + +resource "null_resource" "multiline_comment_single_line_after_opening_bracket" { + triggers = [ /* "a", "b" */ + ] +}