Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View File

@ -0,0 +1,41 @@
---input---
variable "aws_region" {
description = "AWS region to launch servers."
default = "us-west-2"
somevar = true
}
---tokens---
'variable' Keyword.Reserved
' ' Text.Whitespace
'"aws_region"' Name.Variable
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'description' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"AWS region to launch servers."' Literal.String.Double
'\n' Text.Whitespace
' ' Text.Whitespace
'default' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"us-west-2"' Literal.String.Double
'\n' Text.Whitespace
' ' Text.Whitespace
'somevar' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'true' Name.Constant
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace