unify paths
This commit is contained in:
parent
7557ce8156
commit
a199cd8b36
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue