Added error context for parsing of subtrees

This commit is contained in:
eanderton
2014-08-06 08:20:53 -04:00
parent 6db660fed5
commit 1f8a8cbc06
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ func TestDuplicateKeys(t *testing.T) {
func TestEmptyIntermediateTable(t *testing.T) {
_, err := Load("[foo..bar]")
if err.Error() != "empty intermediate table" {
if err.Error() != "(1, 2): empty intermediate table" {
t.Error("Bad error message:", err.Error())
}
}