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