Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests for components #111

Merged
merged 1 commit into from
Jan 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix tests for components
  • Loading branch information
therustmonk committed Jan 16, 2018
commit 8605aebfe204b2c30fadb03ebe99b5f6c58249bb
4 changes: 3 additions & 1 deletion tests/vtag_test.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[macro_use]
extern crate yew;

use yew::html::{Html, Component, Env, ShouldRender};
use yew::html::{Html, Component, Renderable, Env, ShouldRender};
use yew::virtual_dom::VNode;

type Ctx = ();
Expand All @@ -19,7 +19,9 @@ impl Component<Ctx> for Comp {
fn update(&mut self, _: Self::Msg, _: &mut Env<Ctx, Self>) -> ShouldRender {
unimplemented!();
}
}

impl Renderable<Ctx, Comp> for Comp {
fn view(&self) -> Html<Ctx, Self> {
unimplemented!();
}
Expand Down