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

Function exec_requires_a_command

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

Source from the content-addressed store, hash-verified

184
185 #[test]
186 fn exec_requires_a_command() {
187 // `codspeed exec` with no command must be rejected at parse time instead of
188 // proceeding into executor setup with an empty command.
189 assert!(Cli::try_parse_from(["codspeed", "exec"]).is_err());
190 }
191
192 #[test]
193 fn exec_accepts_a_command() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected