unify paths

This commit is contained in:
Thibault bui Koechlin 2020-05-27 17:05:05 +02:00 committed by Farica
parent 7557ce8156
commit a199cd8b36

View file

@ -149,7 +149,7 @@ func prepTests() (*UnixParserCtx, error) {
/* this should be refactored to 2 lines :p */
// Init the parser
pctx, err = p.Init(map[string]interface{}{"patterns": cfgdir + string("/patterns/"), "data": datadir})
pctx, err = p.Init(map[string]interface{}{"patterns": cfgdir + string("/patterns/"), "data": "./tests/"})
if err != nil {
return nil, fmt.Errorf("failed to initialize parser : %v", err)
}