use rdxl::xhtml; #[test] fn tag1() { assert_eq!( xhtml!("
"), "".to_string() ); } #[test] fn tag2() { assert_eq!( xhtml!(that this
), "this thatthat this
".to_string() ); } #[test] fn tag4() { assert_eq!( xhtml!(), "".to_string() ); } #[test] fn tag5() { assert_eq!( xhtml!(), "".to_string() ); } /* panics during compilation, not test; so I don't know how to unit test this #[test] #[should_panic] fn tag6() { assert_eq!( xhtml!(), "".to_string() ); } */