Skip to content

Commit a917451

Browse files
Fix more failures
Previous error is not printed since jruby/jruby@4df660d.
1 parent afaf68d commit a917451

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jruby-maven-plugin/src/it/compile-failures-but-ignore-failures/verify.bsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import org.codehaus.plexus.util.FileUtils;
33

44

55
String log = FileUtils.fileRead( new File( basedir, "build.log" ) );
6-
String expected = "Failure during compilation";
6+
String expected = "syntax error, unexpected end-of-file";
77
if ( !log.contains( expected ) )
88
{
99
throw new RuntimeException( "log file does not contain '" + expected + "'" );
10-
}
10+
}

jruby-maven-plugin/src/it/compile-failures/verify.bsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import org.codehaus.plexus.util.FileUtils;
33

44

55
String log = FileUtils.fileRead( new File( basedir, "build.log" ) );
6-
String expected = "Failure during compilation";
6+
String expected = "syntax error, unexpected end-of-file";
77
if ( !log.contains( expected ) )
88
{
99
throw new RuntimeException( "log file does not contain '" + expected + "'" );
10-
}
10+
}

0 commit comments

Comments
 (0)