()
| 158 | |
| 159 | #[test] |
| 160 | fn require_async_with_async_call_hook() -> Result<()> { |
| 161 | let engine = Engine::default(); |
| 162 | let mut store = Store::new(&engine, ()); |
| 163 | store.call_hook_async(MyAsyncCallHook); |
| 164 | assert_requires_async(&mut store); |
| 165 | Ok(()) |
| 166 | } |
| 167 | |
| 168 | #[tokio::test] |
| 169 | async fn async_disallows_instance_new() -> Result<()> { |
nothing calls this directly
no test coverage detected