justinmclean opened a new issue, #7958:
URL: https://github.com/apache/gravitino/issues/7958
### What would you like to be improved?
Update this test to teh following and the test will fail.
```
@Test
public void testFromStringInvalidArgs() {
Assertions.assertThrows(IllegalArgumentException.class, () ->
Namespace.fromString(null));
Assertions.assertThrows(IllegalArgumentException.class, () ->
Namespace.fromString(".a"));
Assertions.assertThrows(IllegalArgumentException.class, () ->
Namespace.fromString("a."));
Assertions.assertThrows(IllegalArgumentException.class, () ->
Namespace.fromString("a..b"));
Assertions.assertThrows(IllegalArgumentException.class, () ->
Namespace.fromString(" "));
}
```
### How should we improve?
Update Namespace.fromString to throw a IllegalArgumentException if given a
namespace that is just whitespace
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]