Closed tommaisey closed 4 years ago
Let me try to guess : you are using non latin1 characters in your class names ? If that's the case, indeed, this new feature of lua 3.4 was not anticipated ....
Just an occasional &
or <
here and there :)
How do you put such strange characters inside the class or method name ? They are not allowed inside a lua identifier.
I can not reproduce it.
Easy fix:
self.fd:write(string.format(' <testcase classname="%s" name="%s" time="%0.3f">\n', node.className, node.testName, node.duration ) )
becomesself.fd:write(string.format(' <testcase classname="%s" name="%s" time="%0.3f">\n', xmlEscape(node.className), xmlEscape(node.testName), node.duration ) )