use rdxl::{xhtml,xtext}; fn bs(s: String) -> String { s.split_whitespace().collect::>().join(" ") } #[test] fn breaking_for() { assert_eq!( &bs(xhtml!()), "" ); } #[test] fn nonbreaking_for() { assert_eq!( &xtext!(), "" ); } #[test] fn breaking_while() { assert_eq!( &bs(xhtml!()), "" ); } #[test] fn nonbreaking_while() { assert_eq!( &xtext!(), "" ); } #[test] fn breaking_if() { assert_eq!( &bs(xhtml!()), "" ); } #[test] fn nonbreaking_if() { assert_eq!( &xtext!(), "" ); } #[test] fn nonbreaking_lex2() { assert_eq!( xhtml!(macro), "macro" ); }