(parsed: &TestCommand)
| 14 | struct TestUnwind; |
| 15 | |
| 16 | pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { |
| 17 | assert_eq!(parsed.command, "unwind"); |
| 18 | if !parsed.options.is_empty() { |
| 19 | anyhow::bail!("No options allowed on {parsed}"); |
| 20 | } |
| 21 | Ok(Box::new(TestUnwind)) |
| 22 | } |
| 23 | |
| 24 | impl SubTest for TestUnwind { |
| 25 | fn name(&self) -> &'static str { |