Skip to content

Commit 14ec5b7

Browse files
committed
build.gradle: fixed type in junit element name filter
using singular `error` instead of plural `errors`
1 parent 8b91cb9 commit 14ec5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ task failOnTestError() {
223223
if(juniXml.exists()){
224224
def junitResult = new XmlSlurper().parse(juniXml)
225225
def failures = junitResult.'**'.findAll { it.name() == 'failure' }
226-
def errors = junitResult.'**'.findAll { it.name() == 'errors' }
226+
def errors = junitResult.'**'.findAll { it.name() == 'error' }
227227

228228
if (failures || errors) {
229229
def amount = failures.size() + errors.size()

0 commit comments

Comments
 (0)