diff options
Diffstat (limited to 'tests/snippets/terraform/test_module.txt')
-rw-r--r-- | tests/snippets/terraform/test_module.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/snippets/terraform/test_module.txt b/tests/snippets/terraform/test_module.txt new file mode 100644 index 0000000..5a5876b --- /dev/null +++ b/tests/snippets/terraform/test_module.txt @@ -0,0 +1,32 @@ +---input--- +module "consul" { + source = "hashicorp/consul/aws" + servers = 3 +} + +---tokens--- +'module' Keyword.Reserved +' ' Text.Whitespace +'"consul"' Name.Variable +' ' Text.Whitespace +'{' Punctuation +'\n' Text.Whitespace + +' ' Text.Whitespace +'source' Name.Attribute +' ' Text.Whitespace +'=' Operator +' ' Text.Whitespace +'"hashicorp/consul/aws"' Literal.String.Double +'\n' Text.Whitespace + +' ' Text.Whitespace +'servers' Name.Attribute +' ' Text.Whitespace +'=' Operator +' ' Text.Whitespace +'3' Literal.Number +'\n' Text.Whitespace + +'}' Punctuation +'\n' Text.Whitespace |