0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

test: fixup warning message when no coverage of type is found

doesn't look like string format works in logger.warn, use concat
This commit is contained in:
Mike Hardy 2024-06-24 09:58:12 -05:00 committed by David Allison
parent b15994cad0
commit b6c1fd314e

View File

@ -190,7 +190,7 @@ tasks.register('assertNonzeroAndroidTestCoverage') {
continue;
if (child.attribute("covered") == "0") {
logger.warn("jacoco registered zero code coverage for counter type %s", child.attribute("type"))
logger.warn("jacoco registered zero code coverage for counter type " + child.attribute("type"), null)
} else {
hasCovered = true
}