aboutsummaryrefslogtreecommitdiff
path: root/integration_tests
diff options
context:
space:
mode:
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/tests/test_html5lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs
index 3e07531..010fd44 100644
--- a/integration_tests/tests/test_html5lib.rs
+++ b/integration_tests/tests/test_html5lib.rs
@@ -6,8 +6,7 @@ use html5lib_tests::{
use html5tokenizer::{
offset::{Offset, PosTrackingReader, Position},
reader::Reader,
- BasicEmitter, CdataAction, Emitter, Error, Event, InternalState, Token, Tokenizer,
- TracingEmitter,
+ BasicEmitter, Emitter, Error, Event, InternalState, Token, Tokenizer, TracingEmitter,
};
use similar_asserts::assert_eq;
@@ -151,7 +150,7 @@ fn run_test_inner<R, O, E, T>(
while let Some(event) = tokenizer.next() {
let token = match event.unwrap() {
Event::CdataOpen => {
- tokenizer.handle_cdata_open(CdataAction::BogusComment);
+ tokenizer.handle_cdata_open(false);
continue;
}
Event::Token(token) => token.into(),