1 use wasmtime::Result; 2 3 use super::util::test_run_with_count; 4 5 // No-op function; we only test this by composing it in `async_unit_stream_caller` 6 #[allow( 7 dead_code, 8 reason = "here only to make the `assert_test_exists` macro happy" 9 )] async_unit_stream_callee()10pub fn async_unit_stream_callee() {} 11 12 #[tokio::test] async_unit_stream_caller() -> Result<()>13pub async fn async_unit_stream_caller() -> Result<()> { 14 test_run_with_count( 15 &[ 16 test_programs_artifacts::ASYNC_UNIT_STREAM_CALLER_COMPONENT, 17 test_programs_artifacts::ASYNC_UNIT_STREAM_CALLEE_COMPONENT, 18 ], 19 1, 20 ) 21 .await 22 } 23