Commit 26508c9e authored by Yang, Guolin's avatar Yang, Guolin
Browse files

Fixed test and edited index page

parent 0dbdb0f1
Pipeline #174949 passed with stages
in 3 minutes and 44 seconds
......@@ -18,6 +18,7 @@ public class IndexPage implements Page {
// Content
writer.println(
"<h1>Welcome!!</h1>" +
"<p>CODE REVIEW</p>" +
"<p>Enter your query in the box below: " +
"<form>" +
"<input type=\"text\" name=\"q\" />" +
......
......@@ -22,7 +22,7 @@ public class QueryProcessorUpdateTest {
@Test
public void returnsEmptyStringIfCannotProcessQuery() {
assertThat(queryProcessor.process("test"), is("test"));
assertThat(queryProcessor.process("test"), is(""));
}
@Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment