From b61d0553a0fd482348b3a62499cd0039846243e8 Mon Sep 17 00:00:00 2001 From: Jesse He Date: Mon, 9 Oct 2023 13:16:43 -0700 Subject: [PATCH] docs: remove extra "```rust" and add closing bracket to Testing docs (#1870) --- docs/book/src/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/src/testing.md b/docs/book/src/testing.md index b2ca3fe01..bf9f50a46 100644 --- a/docs/book/src/testing.md +++ b/docs/book/src/testing.md @@ -86,7 +86,6 @@ fn clear() { clear.click(); -```rust assert_eq!( div.outer_html(), // here we spawn a mini reactive system to render the test case @@ -108,6 +107,7 @@ assert_eq!( .outer_html() }) ); +} ```` ### [`wasm-bindgen-test` with `counters_stable`](https://github.com/leptos-rs/leptos/tree/main/examples/counters_stable/tests/web)