Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve english grammer #1068

Merged
merged 1 commit into from Jul 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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