Skip to content

Commit

Permalink
test(html/parser): resolve todo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Oct 20, 2022
1 parent bb5bf9a commit e2d675e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc_html_parser/tests/html5lib_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ fn html5lib_test_tree_construction(input: PathBuf) {
&& matches!(counter, 109 | 110 | 111);

if !need_skip_fragment && !document_fragment.is_empty() {
if !document_fragment.is_empty() {
file_stem += ".fragment_";
file_stem += &document_fragment.join("").replace(' ', "_");
}
Expand Down

0 comments on commit e2d675e

Please sign in to comment.