use rdxl::{xtype,xrender,xhtml};
xtype!(/>);
xrender!(A,
);
#[test]
fn static1(){
fn a(x: String) -> String {
xhtml!(>{{ x }}?>)
}
assert_eq!(a("abc".to_string()), "
");
}
/* should panic? because it does rn
#[test]
fn static2(){
fn a(x: &str) -> String {
xhtml!(>{{ x }}?>)
}
assert_eq!(a("abc"), "
");
}
*/