defy 0.1.5

Replacement for the yew::html! macro with more Rust-idiomatic, editor-friendly syntax.
Documentation
#![cfg(test)]

use quote::quote;

use crate::ast;

#[test]
fn test_if_else() {
    let _: ast::Input = syn::parse2(quote! {
        if foo {
            + "";
        } else {
            + "";
        }
    })
    .unwrap();
}

#[test]
fn test_match() {
    let _: ast::Input = syn::parse2(quote! {
        match route {
            Route::List | Route::Post => {
                pages::comp;
            }
        }
    })
    .unwrap();
}

#[test]
fn test_keyword() {
    let _: ast::Input = syn::parse2(quote! {
        input(type = "checkbox");
    })
    .unwrap();
}