()
| 3003 | |
| 3004 | #[test] |
| 3005 | fn recurse_trap() -> Result<()> { |
| 3006 | let error = test_recurse(RecurseKind::AThenA).unwrap_err(); |
| 3007 | |
| 3008 | assert_eq!(error.downcast::<Trap>()?, Trap::CannotEnterComponent); |
| 3009 | |
| 3010 | Ok(()) |
| 3011 | } |
| 3012 | |
| 3013 | #[test] |
| 3014 | fn recurse_more_trap() -> Result<()> { |
nothing calls this directly
no test coverage detected