Added tests for firingEvaluation string

This commit is contained in:
utkarshcmu
2016-11-17 01:41:23 -08:00
parent fc82dac868
commit aae33b36dd
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func (e *DefaultEvalHandler) Eval(context *EvalContext) {
if i > 0 {
firingEval = "[" + firingEval + " " + operator + " " + strconv.FormatBool(cr.Firing) + "]"
} else {
firingEval = "[" + strconv.FormatBool(firing) + "]"
firingEval = strconv.FormatBool(firing)
}
context.EvalMatches = append(context.EvalMatches, cr.EvalMatches...)