docs: remove extra "```rust" and add closing bracket to Testing docs (#1870)

This commit is contained in:
Jesse He 2023-10-09 13:16:43 -07:00 committed by GitHub
parent 2a3b613230
commit b61d0553a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)