diff --git a/vsg/rule_list.py b/vsg/rule_list.py index fad15c9f..9abe6a7c 100644 --- a/vsg/rule_list.py +++ b/vsg/rule_list.py @@ -236,7 +236,7 @@ class rule_list(): for oRule in self.rules: if len(oRule.violations) > 0: for iLinenumber in oRule.violations: - oFailure.add_text(oRule.name + '_' + oRule.identifier + ': ' + str(iLinenumber) + ' : ' + oRule.solution) + oFailure.add_text(oRule.name + '_' + oRule.identifier + ': ' + str(iLinenumber) + ' : ' + oRule._get_solution(iLinenumber)) oTestcase.add_failure(oFailure) return oTestcase