From 4fd88e61925f7ad79e88a1acf61d6f4a99efbc9d Mon Sep 17 00:00:00 2001 From: Martin Molzer Date: Sat, 3 Sep 2022 01:40:38 +0200 Subject: [PATCH] fix doc tests --- packages/yew-test-runner/src/procedural.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/yew-test-runner/src/procedural.rs b/packages/yew-test-runner/src/procedural.rs index 972edb8d9a4..d4e74feb1bc 100644 --- a/packages/yew-test-runner/src/procedural.rs +++ b/packages/yew-test-runner/src/procedural.rs @@ -204,7 +204,10 @@ pub trait TestCase { /// # Example /// /// ```no_run - /// let test_runner = TestRunner::new(); + /// use yew::html; + /// use yew_test_runner::procedural::{TestCase, TestRunner}; + /// + /// let mut test_runner = TestRunner::new(); /// test_runner /// .render(html! { ///