()
| 331 | |
| 332 | #[tokio::test] |
| 333 | async fn async_limiter_disallows_table_new() -> Result<()> { |
| 334 | let mut store = async_limiter_store(); |
| 335 | let ty = TableType::new(RefType::FUNCREF, 1, None); |
| 336 | assert!(Table::new(&mut store, ty.clone(), Ref::Func(None)).is_err()); |
| 337 | Table::new_async(&mut store, ty, Ref::Func(None)).await?; |
| 338 | Ok(()) |
| 339 | } |
| 340 | |
| 341 | #[tokio::test] |
| 342 | async fn async_limiter_disallows_table_grow() -> Result<()> { |
nothing calls this directly
no test coverage detected