()
| 3012 | |
| 3013 | #[test] |
| 3014 | fn 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 | |
| 3022 | fn test_recurse(kind: RecurseKind) -> Result<()> { |
| 3023 | #[derive(Default)] |
nothing calls this directly
no test coverage detected