#![feature(proc_macro_hygiene)]
use ruukh::prelude::*;
use web_sys::Event;
#[test]
fn should_expand_single_element() {
let _: Markup<()> = html! {
"Hello World!"
};
}
#[test]
fn should_expand_list_of_elements() {
let _: Markup<()> = html! {
"Hello"
"World"
"How are you?"
};
}
#[test]
fn should_expand_text() {
let _: Markup<()> = html! {
"Hello World!"
};
}
#[test]
fn should_expand_multiline_text() {
let _: Markup<()> = html! {
"Hello World!"
"How are you?"
};
}
#[test]
fn should_expand_element_with_props() {
let _: Markup<()> = html! {
};
}
fn on_click(_: &(), _: Event) {}
#[test]
fn should_expand_element_with_event_listener() {
let _: Markup<()> = html! {
};
}
#[test]
fn should_expand_element_with_attributes() {
let _: Markup<()> = html! {
};
}