Fix typos
See gh-2019
This commit is contained in:
@@ -59,7 +59,7 @@ public class ServerHttpRequestTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryParamsWithMulitpleValues() throws Exception {
|
||||
public void queryParamsWithMultipleValues() throws Exception {
|
||||
MultiValueMap<String, String> params = createHttpRequest("/path?a=1&a=2").getQueryParams();
|
||||
assertEquals(1, params.size());
|
||||
assertEquals(Arrays.asList("1", "2"), params.get("a"));
|
||||
|
||||
@@ -114,7 +114,7 @@ public class HtmlUtilsTests {
|
||||
assertEquals("'″' should be decoded to uni-code character 8243",
|
||||
"" + (char) 8243, HtmlUtils.htmlUnescape("″"));
|
||||
|
||||
assertEquals("A not supported named reference leads should be ingnored",
|
||||
assertEquals("A not supported named reference leads should be ignored",
|
||||
"&prIme;", HtmlUtils.htmlUnescape("&prIme;"));
|
||||
|
||||
assertEquals("An empty reference '&;' should be survive the decoding",
|
||||
|
||||
Reference in New Issue
Block a user