Commit 258f0cd3 authored by Wang, Vincent H's avatar Wang, Vincent H
Browse files

aaa

parent da8970d0
Pipeline #175016 failed with stages
in 1 minute and 4 seconds
......@@ -31,7 +31,7 @@ public class IndexPage implements Page {
+ " </h1>\n"
+ " <hr>\n"
+ " <form>\n"
+ " <label>Enter your query in the box below.</label>\n"
+ " <label>Enter your amazing query in the box below.</label>\n"
+ " <input type=\"text\" name=\"q\" />\n"
+ " <label for=\"dl\">Choose a download type:</label>\n"
+ "\n"
......
......@@ -53,4 +53,8 @@ public class QueryProcessorTest {
public void isNotCaseSensitive() throws Exception {
assertThat(queryProcessor.process("shakespeare"), containsString("playwright"));
}
@Test
public void knowsAboutLovelace() throws Exception {
assertThat(queryProcessor.process("Lovelace"), containsString("mathematician"));
}
}
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