summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index 8d8064dd7..d60ab4670 100644
--- a/testutils.py
+++ b/testutils.py
@@ -263,7 +263,8 @@ class LintTestUsingModule(testlib.TestCase):
self._test(tocheck)
def _check_result(self, got):
- self.assertMultiLineEqual(self._get_expected().strip(), got.strip())
+ self.assertMultiLineEqual(self._get_expected().strip()+'\n',
+ got.strip()+'\n')
def _test(self, tocheck):
if INFO_TEST_RGX.match(self.module):