Skip to content

Commit

Permalink
improve english grammer (#1068)
Browse files Browse the repository at this point in the history
change language from "..do no match with execution data" to "..do not
match with execution data.

Co-authored-by: William Tucker <william.tucker2@usda.gov>
  • Loading branch information
imbilltucker and William Tucker committed Jul 7, 2020
1 parent 6ceb019 commit b404a6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh
Expand Up @@ -14,7 +14,7 @@ import java.io.*;
import org.codehaus.plexus.util.*;

String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do no match with execution data." ) < 0 ) {
if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do not match with execution data." ) < 0 ) {
throw new RuntimeException( "Warning 1 was not printed" );
}
if ( buildLog.indexOf( "For report generation the same class files must be used as at runtime." ) < 0 ) {
Expand Down
Expand Up @@ -216,7 +216,7 @@ private void logBundleInfo(final IBundleCoverage bundle,
Integer.valueOf(bundle.getClassCounter().getTotalCount())));
if (!nomatch.isEmpty()) {
log.warn(format(
"Classes in bundle '%s' do no match with execution data. "
"Classes in bundle '%s' do not match with execution data. "
+ "For report generation the same class files must be used as at runtime.",
bundle.getName()));
for (final IClassCoverage c : nomatch) {
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.ant.test/src/org/jacoco/ant/ReportTaskTest.xml
Expand Up @@ -129,7 +129,7 @@
</classfiles>
</structure>
</jacoco:report>
<au:assertLogContains level="warn" text="Classes in bundle 'root' do no match with execution data."/>
<au:assertLogContains level="warn" text="Classes in bundle 'root' do not match with execution data."/>
<au:assertLogContains level="warn" text="For report generation the same class files must be used as at runtime."/>
<au:assertLogContains level="warn" text="Execution data for class org/jacoco/ant/TestTarget does not match."/>
</target>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.ant/src/org/jacoco/ant/ReportTask.java
Expand Up @@ -585,7 +585,7 @@ private void logBundleInfo(final IBundleCoverage bundle,
Integer.valueOf(bundle.getClassCounter().getTotalCount())));
if (!nomatch.isEmpty()) {
log(format(
"Classes in bundle '%s' do no match with execution data. "
"Classes in bundle '%s' do not match with execution data. "
+ "For report generation the same class files must be used as at runtime.",
bundle.getName()), Project.MSG_WARN);
for (final IClassCoverage c : nomatch) {
Expand Down

0 comments on commit b404a6b

Please sign in to comment.