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,7 +24,16 @@ func TestDecode(t *testing.T) {
"structure.hcl",
false,
map[string]interface{}{
"foo": "bar",
"foo": []interface{}{
map[string]interface{}{
"baz": []interface{}{
map[string]interface{}{
"key": 7,
"foo": "bar",
},
},
},
},
},
},
}

View File

@ -1,5 +1,5 @@
// This is a test structure for the lexer
foo bar "baz" {
foo "baz" {
key = 7
foo = "bar"
}