Use other multiline operator for RegEx

This commit is contained in:
Sebastian Serth
2020-03-21 19:38:58 +01:00
parent 64e6d01b9b
commit d394881447

View File

@ -3,7 +3,7 @@ class PyUnitAdapter < TestingFrameworkAdapter
FAILURES_REGEXP = /FAILED \(.*failures=(\d+).*\)/
ERRORS_REGEXP = /FAILED \(.*errors=(\d+).*\)/
# The regex below also catches new line separators.
ASSERTION_ERROR_REGEXP = /AssertionError:\s(.*)\s\s----------------------------------------------------------------------/s
ASSERTION_ERROR_REGEXP = /AssertionError:\s(.*)\s\s----------------------------------------------------------------------/m
def self.framework_name
'PyUnit'