Skip to content

Commit aac2cd2

Browse files
committed
BAEL-5421
1 parent f00baba commit aac2cd2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
package com.baeldung.jar;
22

3+
import java.io.IOException;
4+
35
import org.junit.jupiter.api.Test;
46

5-
class MySampleGUIAppnUnitTest throws IOException {
7+
class MySampleGUIAppnUnitTest {
68

79
@Test
810
void testMain() throws IOException {
911
MySampleGUIAppn instance = new MySampleGUIAppn();
1012
String [] args = null;
11-
System.exit(DO_NOTHING_ON_CLOSE);
12-
main(args);
13+
System.exit(0);
14+
MySampleGUIAppn.main(args);
1315
}
1416
}

0 commit comments

Comments
 (0)