aboutsummaryrefslogtreecommitdiff
path: root/integration_tests/tests
diff options
context:
space:
mode:
Diffstat (limited to 'integration_tests/tests')
-rw-r--r--integration_tests/tests/test_html5lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs
index 52df539..da3e983 100644
--- a/integration_tests/tests/test_html5lib.rs
+++ b/integration_tests/tests/test_html5lib.rs
@@ -122,7 +122,7 @@ fn run_test_inner<R: Reader>(
match token {
Token::Error { error, .. } => actual.errors.push(TestError {
- code: error.to_string(),
+ code: error.code().to_string(),
}),
Token::StartTag(tag) => actual.tokens.push(TestToken::StartTag {
name: tag.name,