We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98b7188 commit 7972a14Copy full SHA for 7972a14
src/main/java/httpserver/App.java
@@ -2,10 +2,8 @@
2
3
public class App {
4
public static void main(String[] args) {
5
- System.out.println("Hello World");
6
- }
7
-
8
- public String message() {
9
- return "Hello World";
+ int portNumber = Integer.parseInt(args[0]);
+ String fileDirectory = args[1];
+
10
}
11
src/test/java/httpserver/AppTest.java
@@ -5,9 +5,4 @@
import static org.junit.Assert.*;
public class AppTest {
- @Test
- public void returnsHelloWorld() throws Exception {
- App app = new App();
- assertEquals(app.message(), "Hello World");
12
13
0 commit comments