mirror of
https://github.com/apache/maven.git
synced 2025-03-08 01:30:33 +00:00
o Relaxed log parsing
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@811359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
99e67b151d
commit
0ba2089726
@ -104,7 +104,7 @@ public void testNoClassDefFromMojoConfiguration()
|
||||
|
||||
List lines = verifier.loadFile( new File( testDir, "log.txt" ), false );
|
||||
|
||||
int msg = indexOf( lines, "(?i).*required class was missing during mojo configuration.*" );
|
||||
int msg = indexOf( lines, "(?i).*required class was missing during (mojo )?configuration.*" );
|
||||
assertTrue( "User-friendly message was not found in output.", msg >= 0 );
|
||||
|
||||
int cls = lines.get( msg ).toString().replace( '/', '.' ).indexOf( TestCase.class.getName() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user