Passing tests

This commit is contained in:
Mitchell Hashimoto 2014-08-02 20:40:41 -07:00
parent b2ba9e7b3e
commit bbf6292cbe
2 changed files with 11 additions and 2 deletions

View File

@ -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 {

View File

@ -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"
} }