Passing tests
This commit is contained in:
parent
b2ba9e7b3e
commit
bbf6292cbe
@ -24,9 +24,18 @@ func TestDecode(t *testing.T) {
|
|||||||
"structure.hcl",
|
"structure.hcl",
|
||||||
false,
|
false,
|
||||||
map[string]interface{}{
|
map[string]interface{}{
|
||||||
|
"foo": []interface{}{
|
||||||
|
map[string]interface{}{
|
||||||
|
"baz": []interface{}{
|
||||||
|
map[string]interface{}{
|
||||||
|
"key": 7,
|
||||||
"foo": "bar",
|
"foo": "bar",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tc := range cases {
|
for _, tc := range cases {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// This is a test structure for the lexer
|
// This is a test structure for the lexer
|
||||||
foo bar "baz" {
|
foo "baz" {
|
||||||
key = 7
|
key = 7
|
||||||
foo = "bar"
|
foo = "bar"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user