Fix broken test in BootstrapCliParserTests
This commit is contained in:
parent
8d1d8f9c46
commit
b1965267ec
|
@ -226,7 +226,7 @@ public class BootstrapCliParserTests extends CliToolTestCase {
|
||||||
parser.parse("start", new String[]{"--foo=bar", "-Dbaz=qux"});
|
parser.parse("start", new String[]{"--foo=bar", "-Dbaz=qux"});
|
||||||
fail("expected IllegalArgumentException for out-of-order parameters");
|
fail("expected IllegalArgumentException for out-of-order parameters");
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
assertThat(e.getMessage(), containsString("must appear before any parameters starting with --"));
|
assertThat(e.getMessage(), containsString("must be before any parameters starting with --"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue