Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Sep 15, 2022
1 parent 1e2c1db commit 556d3ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yew/tests/suspense.rs
Expand Up @@ -693,7 +693,7 @@ async fn test_suspend_forever() {
fn SuspendForever() -> HtmlResult {
let (s, handle) = Suspension::new();
use_state(move || handle);
Err(s)
Err(s.into())
}

#[function_component]
Expand All @@ -714,7 +714,7 @@ async fn test_suspend_forever() {
}

let content = if *page == 1 {
html! { <FirstPage /> }
html! { <SuspendForever /> }
} else {
html! { <h1>{"Page 2"}</h1> }
};
Expand Down

0 comments on commit 556d3ab

Please sign in to comment.