(parsed: &TestCommand)
| 26 | struct TestDomtree; |
| 27 | |
| 28 | pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { |
| 29 | assert_eq!(parsed.command, "domtree"); |
| 30 | if !parsed.options.is_empty() { |
| 31 | anyhow::bail!("No options allowed on {parsed}") |
| 32 | } |
| 33 | Ok(Box::new(TestDomtree)) |
| 34 | } |
| 35 | |
| 36 | impl SubTest for TestDomtree { |
| 37 | fn name(&self) -> &'static str { |