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 f351f85..f13e580 100644
--- a/integration_tests/tests/test_html5lib.rs
+++ b/integration_tests/tests/test_html5lib.rs
@@ -146,7 +146,7 @@ fn run_test_inner<R: Reader>(
Token::String(data) => actual.tokens.push(TestToken::Character(data)),
Token::Comment(comment) => actual.tokens.push(TestToken::Comment(comment.data)),
Token::Doctype(doctype) => actual.tokens.push(TestToken::Doctype {
- name: Some(doctype.name).filter(|name| !name.is_empty()),
+ name: doctype.name,
public_id: doctype.public_id,
system_id: doctype.system_id,
force_quirks: doctype.force_quirks,