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