diff options
author | Mirko Friedenhagen <mfriedenhagen@gmail.com> | 2014-02-13 21:42:14 +0100 |
---|---|---|
committer | Mirko Friedenhagen <mfriedenhagen@gmail.com> | 2014-02-13 21:42:14 +0100 |
commit | 9cd6a08f4754e3030643b3ccf4382b1d59c90c2a (patch) | |
tree | 2857017b2a4872a31f4232ca6726cb6fcaa15e71 /jacoco-maven-plugin.test | |
parent | 0d6990d0270b41550d6f5d343db499bdd3383db5 (diff) | |
download | jacoco-9cd6a08f4754e3030643b3ccf4382b1d59c90c2a.tar.gz |
Fix `it-report-nomatch` for Maven 2.2.1 as detected in #192.
This is compatible with Maven 3.1.1 and Maven 2.2.1.
Diffstat (limited to 'jacoco-maven-plugin.test')
-rw-r--r-- | jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh b/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh index e45c9ad7..fc640cb1 100644 --- a/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh +++ b/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh @@ -13,7 +13,7 @@ import java.io.*; import org.codehaus.plexus.util.*; String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) ); -if ( buildLog.indexOf( "Classes in bundle 'it-report-nomatch' do no match with execution data." ) < 0 ) { +if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do no 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 ) { |