mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 22:13:22 +00:00
Fixed most reported issues by SonarCloud.
This commit is contained in:
1 parent
e7e3ace01f
commit
31471acb69
190 files changed
+1426
-661
No files matched your search
@@ -25,13 +25,15 @@ package com.iluwatar.prototype;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
||||
|
||||
/**
|
||||
* Application test
|
||||
*/
|
||||
public class AppTest {
|
||||
class AppTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
App.main(new String[]{});
|
||||
void shouldExecuteApplicationWithoutException() {
|
||||
assertDoesNotThrow(() -> App.main(new String[]{}));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user