Skip to content

Commit

Permalink
test: fixup warning message when no coverage of type is found
Browse files Browse the repository at this point in the history
doesn't look like string format works in logger.warn, use concat
  • Loading branch information
mikehardy authored and david-allison committed Jun 24, 2024
1 parent b15994c commit b6c1fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnkiDroid/jacoco.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b6c1fd3

Please sign in to comment.