Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Avoid error by expecting an Integer after execution of FitNesseMain.

Return value can be null, in case we're not performing a command.
  • Loading branch information...
commit 73318841ff46bf76344aa6f68637fb6e5813a7aa 1 parent cc4d881
@amolenaar amolenaar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/fitnesseMain/
2  test/fitnesseMain/
@@ -116,7 +116,7 @@ private String runFitnesseMainWith(String... args) throws Exception {
ByteArrayOutputStream outputBytes = new ByteArrayOutputStream();
System.setErr(new PrintStream(outputBytes));
Arguments arguments = new Arguments(args);
- int exitCode = new FitNesseMain().launchFitNesse(arguments);
+ Integer exitCode = new FitNesseMain().launchFitNesse(arguments);
assertThat(exitCode, is(0));
String response = outputBytes.toString();
Please sign in to comment.
Something went wrong with that request. Please try again.