🐛 Corrige nombre de función en prueba de Html
This commit is contained in:
parent
d4d55146d3
commit
c2a8a58057
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ async fn component_html_renders_using_context_param() {
|
||||||
async fn component_html_allows_replacing_render_function() {
|
async fn component_html_allows_replacing_render_function() {
|
||||||
let mut component = Html::with(|_| html! { div { "Original" } });
|
let mut component = Html::with(|_| html! { div { "Original" } });
|
||||||
|
|
||||||
component.alter_html(|_| html! { div { "Modified" } });
|
component.alter_fn(|_| html! { div { "Modified" } });
|
||||||
|
|
||||||
let markup = component
|
let markup = component
|
||||||
.prepare_component(&mut Context::new(None))
|
.prepare_component(&mut Context::new(None))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue