🐛 Corrige nombre de función en prueba de Html

This commit is contained in:
Manuel Cillero 2025-08-25 23:25:39 +02:00
parent d4d55146d3
commit c2a8a58057

View file

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