diff options
author | Martin Fischer <martin@push-f.com> | 2023-08-13 19:35:43 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-08-19 06:39:08 +0200 |
commit | 9892c726fb212a1af36737d5741ff8421ff20829 (patch) | |
tree | 736f26042b91bfa5a76fd7481a65e9b7063512f2 /integration_tests/tests/test_html5lib.rs | |
parent | b48e5c3b99fd537d223cb899e8675177d77e650c (diff) |
break!: remove set_last_start_tag from Emitter
Diffstat (limited to 'integration_tests/tests/test_html5lib.rs')
-rw-r--r-- | integration_tests/tests/test_html5lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs index cf95bb6..8afa033 100644 --- a/integration_tests/tests/test_html5lib.rs +++ b/integration_tests/tests/test_html5lib.rs @@ -315,7 +315,9 @@ fn run_test_inner<R: Reader>( ); println!("description: {}", test.description); tokenizer.set_internal_state(state); - tokenizer.set_last_start_tag(test.last_start_tag.as_ref().map(String::as_str)); + if let Some(last_start_tag) = &test.last_start_tag { + tokenizer.set_last_start_tag(last_start_tag); + } let mut actual_tokens = Vec::new(); let mut actual_errors = Vec::new(); |