Fix matchers and add tests

This commit is contained in:
Shivam Mathur
2019-12-19 02:38:12 +05:30
parent 8039546df3
commit 1798f4d615
7 changed files with 103 additions and 40 deletions

24
src/configs/phpunit.json Normal file
View File

@ -0,0 +1,24 @@
{
"problemMatcher": [
{
"owner": "phpunit",
"pattern": [
{
"regexp": "^\\d+\\)\\s.*$"
},
{
"regexp": "^(.*)$",
"message": 1
},
{
"regexp": "^\\s*$"
},
{
"regexp": "^(.*):(\\d+)$",
"file": 1,
"line": 2
}
]
}
]
}