MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / exec_accepts_a_command

Function exec_accepts_a_command

src/cli/exec/mod.rs:193–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191
192 #[test]
193 fn exec_accepts_a_command() {
194 assert!(Cli::try_parse_from(["codspeed", "exec", "echo", "hello"]).is_ok());
195 }
196
197 fn exec_target(command: &[&str], name: Option<&str>) -> executor::BenchmarkTarget {
198 executor::BenchmarkTarget::Exec {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected