packages/mrml-core/src/mj_social_element/print.rs
#[cfg(test)]
mod tests {
use crate::prelude::print::Printable;
#[test]
fn empty() {
let mut item = crate::mj_social_element::MjSocialElement::default();
item.attributes
.insert("src".to_string(), "http://localhost".into());
assert_eq!(
"<mj-social-element src=\"http://localhost\" />",
item.print_dense().unwrap()
);
}
}