tweak parsing error
This commit is contained in:
parent
b1b8e61f57
commit
3fb978638f
4 changed files with 13 additions and 9 deletions
|
|
@ -94,7 +94,7 @@ func TestAll(t *testing.T) {
|
|||
tree, err := p.Parse()
|
||||
|
||||
if err != nil {
|
||||
print(err.(*ParsingError).Format([]rune(tc.src)))
|
||||
print(err.(ParsingError).Format([]rune(tc.src)))
|
||||
t.Fatalf("parser had an error")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue