We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf2e93 commit d094adcCopy full SHA for d094adc
rspec-maven-plugin/src/it/rspec-path/verify.bsh
@@ -3,13 +3,7 @@ import org.codehaus.plexus.util.FileUtils;
3
4
5
String log = FileUtils.fileRead( new File( basedir, "build.log" ) );
6
-String expected = "mode 1.8: 1 example, 0 failures";
7
-if ( !log.contains( expected ) )
8
-{
9
- throw new RuntimeException( "log file does not contain '" + expected + "'" );
10
-}
11
-
12
-expected = "mode 1.9: 1 example, 0 failures";
+String expected = "jruby 9.2.18.0 mode : 1 example, 0 failures";
13
if ( !log.contains( expected ) )
14
{
15
throw new RuntimeException( "log file does not contain '" + expected + "'" );
0 commit comments