don't use die() anymore, butt dtd go errros

This commit is contained in:
2022-10-03 12:52:26 +02:00
parent 07b65bcff5
commit 65cbaddd5f
5 changed files with 22 additions and 16 deletions

View File

@@ -54,7 +54,12 @@ asd igig cxxxncnc
for mode, expect := range expects {
OutputMode = mode
fd := strings.NewReader(table)
data := parseFile(fd, "")
data, err := parseFile(fd, "")
if err != nil {
t.Errorf("Parser returned error: %s\nData processed so far: %+v", err, data)
}
printData(data)
buf := make([]byte, 1024)