mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 12:22:06 +01:00
SOP: List profiles of null command throws
This commit is contained in:
parent
b9c2e8dfe9
commit
2367674151
1 changed files with 6 additions and 0 deletions
|
@ -31,4 +31,10 @@ public class ListProfilesTest {
|
|||
assertThrows(SOPGPException.UnsupportedProfile.class, () ->
|
||||
sop.listProfiles().subcommand("help"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listProfilesOfNullThrows() {
|
||||
assertThrows(SOPGPException.UnsupportedProfile.class, () ->
|
||||
sop.listProfiles().subcommand(null));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue