Skip to content

Commit

Permalink
remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alun Turner committed Jun 16, 2023
1 parent b1ca983 commit 42300cd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions crates/wysiwyg/src/dom/parser/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1081,16 +1081,6 @@ mod js {
roundtrip(r#"foo <a href="">bar</a> baz"#);
}

#[wasm_bindgen_test]
fn a_with_bad_attribute() {
let html = r#"<a invalidattribute="true" href="http://example.com">a user mention</a>"#;
let dom = HtmlParser::default().parse::<Utf16String>(html).unwrap();
assert_eq!(
dom.to_string(),
r#"<a href="http://example.com">a user mention</a>"#
);
}

#[wasm_bindgen_test]
fn mention_with_attributes() {
roundtrip(
Expand Down

0 comments on commit 42300cd

Please sign in to comment.