|
@@ -149,7 +149,7 @@ func prepTests() (*UnixParserCtx, error) {
|
|
|
|
|
|
/* this should be refactored to 2 lines :p */
|
|
/* this should be refactored to 2 lines :p */
|
|
// Init the parser
|
|
// 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 {
|
|
if err != nil {
|
|
return nil, fmt.Errorf("failed to initialize parser : %v", err)
|
|
return nil, fmt.Errorf("failed to initialize parser : %v", err)
|
|
}
|
|
}
|