MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / recurse_more_trap

Function recurse_more_trap

tests/all/component_model/func.rs:3014–3020  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3012
3013#[test]
3014fn recurse_more_trap() -> Result<()> {
3015 let error = test_recurse(RecurseKind::AThenBThenA).unwrap_err();
3016
3017 assert_eq!(error.downcast::<Trap>()?, Trap::CannotEnterComponent);
3018
3019 Ok(())
3020}
3021
3022fn test_recurse(kind: RecurseKind) -> Result<()> {
3023 #[derive(Default)]

Callers

nothing calls this directly

Calls 2

test_recurseFunction · 0.85
OkFunction · 0.85

Tested by

no test coverage detected