Basic keys parsing

This commit is contained in:
Thomas Pelletier
2015-07-14 16:33:33 -07:00
parent 222e90a7d3
commit 9f36448571
4 changed files with 114 additions and 2 deletions
+7
View File
@@ -461,3 +461,10 @@ func TestNestedTreePosition(t *testing.T) {
"foo.bar.b": Position{3, 1},
})
}
func TestInvalidGroupArray(t *testing.T) {
_, err := Load("[key#group]\nanswer = 42")
if err == nil {
t.Error("Should error")
}
}