Skip to content

Commit 7972a14

Browse files
committed
Remove test
1 parent 98b7188 commit 7972a14

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

src/main/java/httpserver/App.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
public class App {
44
public static void main(String[] args) {
5-
System.out.println("Hello World");
6-
}
7-
8-
public String message() {
9-
return "Hello World";
5+
int portNumber = Integer.parseInt(args[0]);
6+
String fileDirectory = args[1];
7+
108
}
119
}

src/test/java/httpserver/AppTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,4 @@
55
import static org.junit.Assert.*;
66

77
public class AppTest {
8-
@Test
9-
public void returnsHelloWorld() throws Exception {
10-
App app = new App();
11-
assertEquals(app.message(), "Hello World");
12-
}
138
}

0 commit comments

Comments
 (0)