There are no tests asserting that `Error parsing arguments [...]` is part of
the error message.
Imo the test `testIllegalArgs` should be rewritten as follows:
```
@Test
public void testThrowExceptionIfParameterIsNotPrefixed() {
exception.expect(IllegalArgumentException.class);
exception.expectMessage("Error parsing arguments '[a]' on 'a'.
Please prefix keys with -- or -.");
ParameterTool.fromArgs(new String[]{"a"});
}
```
[ Full content available at: https://github.com/apache/flink/pull/6737 ]
This message was relayed via gitbox.apache.org for [email protected]