#[macro_use] extern crate plaster; #[macro_use] extern crate wasm_bindgen_test; wasm_bindgen_test_configure!(run_in_browser); use plaster::prelude::*; use plaster::virtual_dom::VNode; struct Comp; impl Component for Comp { type Message = (); type Properties = (); fn create(_: Self::Properties, _: ComponentLink) -> Self { Comp } fn update(&mut self, _: Self::Message) -> ShouldRender { unimplemented!(); } } impl Renderable for Comp { fn view(&self) -> Html { unimplemented!(); } } #[wasm_bindgen_test] fn text_as_root() { let _: VNode = html! { { "Text Node As Root" } }; }