Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
atextor committed Aug 18, 2021
1 parent 9fcafca commit b616760
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void testWithoutArguments() throws IOException, InterruptedException {
process.waitFor();

assertThat( process.exitValue() ).isEqualTo( 0 );
assertThat( stdout ).contains( "Usage: owl [-v] [--help] [--version] [COMMAND]" );
assertThat( stdout ).contains( "Usage: owl [-hv] [--version] [COMMAND]" );
assertThat( stderr ).isEmpty();
}

Expand All @@ -79,7 +79,7 @@ public void testHelp() throws InterruptedException, IOException {
process.waitFor();

assertThat( process.exitValue() ).isEqualTo( 0 );
assertThat( stdout ).contains( "Usage: owl [-v] [--help] [--version] [COMMAND]" );
assertThat( stdout ).contains( "Usage: owl [-hv] [--version] [COMMAND]" );
assertThat( stdout ).contains( "See the online documentation" );
assertThat( stderr ).isEmpty();
}
Expand Down

0 comments on commit b616760

Please sign in to comment.