From afc606ae3c8a59dabb1c37b01974f3c5a242d1bb Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 18 Nov 2020 22:51:51 +0530 Subject: [PATCH] Fix parsing multiline failures in PHPUnit problem matcher --- src/configs/phpunit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configs/phpunit.json b/src/configs/phpunit.json index 2cc9dab1..b2d3f1c6 100644 --- a/src/configs/phpunit.json +++ b/src/configs/phpunit.json @@ -7,7 +7,7 @@ "regexp": "^\\d+\\)\\s.*$" }, { - "regexp": "^(.*Failed\\sasserting\\sthat.*)$", + "regexp": "^(.*Failed\\sasserting\\sthat.*(?:\\r\\n|\\n(?!^\\s*$).*)*)$", "message": 1 }, {