mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 06:12: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, () ->
|
assertThrows(SOPGPException.UnsupportedProfile.class, () ->
|
||||||
sop.listProfiles().subcommand("help"));
|
sop.listProfiles().subcommand("help"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void listProfilesOfNullThrows() {
|
||||||
|
assertThrows(SOPGPException.UnsupportedProfile.class, () ->
|
||||||
|
sop.listProfiles().subcommand(null));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue