()
| 251 | |
| 252 | #[tokio::test] |
| 253 | async fn async_disallows_externref_new() -> Result<()> { |
| 254 | let mut store = async_limiter_store(); |
| 255 | assert!(ExternRef::new(&mut store, 1).is_err()); |
| 256 | ExternRef::new_async(&mut store, 1).await?; |
| 257 | Ok(()) |
| 258 | } |
| 259 | |
| 260 | #[tokio::test] |
| 261 | async fn async_disallows_structref_new() -> Result<()> { |
nothing calls this directly
no test coverage detected