unify paths
This commit is contained in:
parent
ed44aea206
commit
f1b9247a04
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue