specsuite: Initial test for top-level attribute handling

This commit is contained in:
Martin Atkins 2018-08-10 08:57:59 -07:00
parent db04b3dffe
commit 65f9271b86
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,3 @@
a = "a value"
b = "b value"
c = "c value"

View File

@ -0,0 +1,11 @@
object {
attr "a" {
type = string
}
attr "b" {
type = string
}
attr "c" {
type = string
}
}

View File

@ -0,0 +1,10 @@
result_type = object({
a = string
b = string
c = string
})
result = {
a = "a value"
b = "b value"
c = "c value"
}