Skip to content

Commit b601b20

Browse files
committed
Fix broken test
1 parent eda3c8f commit b601b20

File tree

1 file changed

+1
-1
lines changed
  • crates/misc/component-async-tests/tests/scenario

1 file changed

+1
-1
lines changed

crates/misc/component-async-tests/tests/scenario/streams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ pub async fn test_closed_streams(watch: bool) -> Result<()> {
345345
// Next, test futures host->guest
346346
{
347347
let (tx, rx) = instance.future(|| unreachable!(), &mut store)?;
348-
let (tx_ignored, rx_ignored) = instance.future(|| unreachable!(), &mut store)?;
348+
let (tx_ignored, rx_ignored) = instance.future(|| 0, &mut store)?;
349349

350350
let mut futures = FuturesUnordered::new();
351351
futures.push(

0 commit comments

Comments
 (0)