Skip to content

Commit f7e8fbe

Browse files
committed
Dotted console (robotframework#317): Strip error message like in verbose mode
1 parent cdc1cba commit f7e8fbe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/robot/output/console/dotted.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ def visit_test(self, test):
7676
if not test.passed and test.critical:
7777
self._stream.write('-' * self._width + '\n')
7878
self._stream.highlight('FAIL')
79-
self._stream.write(': %s\n%s\n' % (test.longname, test.message))
79+
self._stream.write(': %s\n%s\n' % (test.longname,
80+
test.message.strip()))

0 commit comments

Comments
 (0)