Reduce RunHelpTest Acceptance Test (#1749)

The Acceptance Test harness occasionally misses the last line of the
help text (not sure if it's a linux, java, or harness issue, or all
three).

Accept two possible variants for trailer text.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
pull/1758/head
Danno Ferrin 4 years ago committed by GitHub
parent 3908cc1c92
commit e580162ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/RunHelpTest.java

@ -38,6 +38,5 @@ public class RunHelpTest extends AcceptanceTestBase {
final String consoleContents = cluster.getConsoleContents();
assertThat(consoleContents)
.startsWith("Usage:\n\nbesu [OPTIONS] [COMMAND]\n\nDescription:\n\n");
assertThat(consoleContents).endsWith("\nBesu is licensed under the Apache License 2.0\n");
}
}

Loading…
Cancel
Save