aboutsummaryrefslogtreecommitdiff
path: root/src/test/model/html
diff options
context:
space:
mode:
authorj-james2022-10-18 22:11:26 +0000
committerj-james2022-10-18 22:11:26 +0000
commitcea4d2b83f68ed2223ab1b07061dd7a7b709d2af (patch)
tree46773207e04805804fd05d6f5052e03ae4dd0f0e /src/test/model/html
parentb1ed66fc3446de90256b34e38e4a7307a94be65c (diff)
Replace Java 11 features with equivalent Java 8 ones
Diffstat (limited to 'src/test/model/html')
-rw-r--r--src/test/model/html/HtmlParserTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/model/html/HtmlParserTest.java b/src/test/model/html/HtmlParserTest.java
index a7093e1..8268abf 100644
--- a/src/test/model/html/HtmlParserTest.java
+++ b/src/test/model/html/HtmlParserTest.java
@@ -79,7 +79,7 @@ public class HtmlParserTest {
expectedAttributes.add(new Pair<>("up", "do'wn"));
HtmlParser parser = new HtmlParser();
- var parsed = parser.parseHtml(attributesHtml);
+ ArrayList<Node> parsed = parser.parseHtml(attributesHtml);
displayHtmlTree(parsed);
assertEqualsHtml(parsed, expected);
}