9 Oct
2013
9 Oct
'13
3:48 p.m.
The truncation helped back when the test output appeared when run via make. But now "make check" logs that output, and it makes little sense to log the truncated rules. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> --- test/pacman/pmrule.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py index c97a158..cfcbb6b 100644 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -32,9 +32,7 @@ def __init__(self, rule): self.result = 0 def __str__(self): - if len(self.rule) <= 40: - return self.rule - return self.rule[:37] + '...' + return self.rule def check(self, test): """ -- 1.8.4