Skip to content

Commit bcc6708

Browse files
committed
Non readable error message in tests
Due to the `split('\n')` we lost the return ant thus got a hard to read error message i.e.: ``` No declaration for attribute data-start of element divNo declaration for attribute data-end of element divNo declaration for attribute data-start of element divNo declaration for attribute data-end of element divNo declaration for attribute data-start of element divNo declaration for attribute data-end of element divNo declaration for attribute data-start of element divNo declaration for attribute data-end of element divDocument test_output_013/html/013__class_8h_source.xhtml does not validate ``` instead of ``` No declaration for attribute data-start of element div No declaration for attribute data-end of element div No declaration for attribute data-start of element div No declaration for attribute data-end of element div No declaration for attribute data-start of element div No declaration for attribute data-end of element div No declaration for attribute data-start of element div No declaration for attribute data-end of element div Document test_output_013/html/013__class_8h_source.xhtml does not validate ```
1 parent 92d6484 commit bcc6708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/runtests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def clean_header(errmsg):
5656
cnt-=1
5757
else:
5858
rtnmsg+=o
59+
rtnmsg+="\n"
5960
return rtnmsg
6061

6162
class Tester:

0 commit comments

Comments
 (0)