diff --git a/motor/rule_applicator.go b/motor/rule_applicator.go index 35be20e4..d05d6b45 100644 --- a/motor/rule_applicator.go +++ b/motor/rule_applicator.go @@ -630,7 +630,7 @@ func ApplyRulesToRuleSet(execution *RuleSetExecution) *RuleSetExecutionResult { if indexResolved != nil && rolodexResolved != nil { filesProcessed = rolodexResolved.RolodexTotalFiles() fileSize = rolodexResolved.RolodexFileSize() - ruleResults = *removeDuplicates(&ruleResults, execution, indexResolved) + //ruleResults = *removeDuplicates(&ruleResults, execution, indexResolved) } then = time.Since(now).Milliseconds() diff --git a/motor/rule_applicator_test.go b/motor/rule_applicator_test.go index 67f6b3d1..f5c80303 100644 --- a/motor/rule_applicator_test.go +++ b/motor/rule_applicator_test.go @@ -647,7 +647,8 @@ func TestApplyRules_Length_Description_BadConfig(t *testing.T) { results := ApplyRulesToRuleSet(rse) assert.Len(t, results.Errors, 0) assert.Len(t, results.Results, 1) - assert.Equal(t, "'length' needs 'min' or 'max' (or both) properties being set to operate: minimum property number not met (1)", results.Results[0].Message) + assert.Equal(t, "'length' needs 'min' or 'max' (or both) properties being set to operate: minimum property number not met (1)", + results.Results[0].Message) }