aboutsummaryrefslogtreecommitdiff
path: root/tests/test_html5lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_html5lib.rs')
-rw-r--r--tests/test_html5lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_html5lib.rs b/tests/test_html5lib.rs
index 662f3c5..cd3785f 100644
--- a/tests/test_html5lib.rs
+++ b/tests/test_html5lib.rs
@@ -296,9 +296,9 @@ fn run_test_inner<R: Reader>(
for token in tokenizer {
let token = token.unwrap();
- if let Token::Error(e) = token {
+ if let Token::Error { error, .. } = token {
actual_errors.push(ParseError {
- code: ParseErrorInner(e),
+ code: ParseErrorInner(error),
});
} else {
actual_tokens.push(token);