()
| 350 | |
| 351 | #[tokio::test] |
| 352 | async fn async_limiter_disallows_memory_new() -> Result<()> { |
| 353 | let mut store = async_limiter_store(); |
| 354 | let ty = MemoryType::new(1, None); |
| 355 | assert!(Memory::new(&mut store, ty.clone()).is_err()); |
| 356 | Memory::new_async(&mut store, ty).await?; |
| 357 | Ok(()) |
| 358 | } |
| 359 | |
| 360 | #[tokio::test] |
| 361 | async fn async_limiter_disallows_memory_grow() -> Result<()> { |
nothing calls this directly
no test coverage detected