mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-10 18:59:43 +02:00
Kotlin conversion: SopCLI
This commit is contained in:
parent
0c2cf5cb19
commit
baa44a6b1a
4 changed files with 114 additions and 138 deletions
|
@ -45,7 +45,7 @@ public class SOPTest {
|
|||
@Test
|
||||
@ExpectSystemExitWithStatus(1)
|
||||
public void assertThrowsIfNoSOPBackendSet() {
|
||||
SopCLI.SOP_INSTANCE = null;
|
||||
SopCLI.setSopInstance(null);
|
||||
// At this point, no SOP backend is set, so an InvalidStateException triggers exit(1)
|
||||
SopCLI.main(new String[] {"armor"});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue