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

Function test_wrap_with_spaces

src/executor/helpers/command.rs:175–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173
174 #[test]
175 fn test_wrap_with_spaces() {
176 let mut builder = CommandBuilder::new("echo");
177 builder.arg("hello world").wrap("bash", ["-c"]);
178 assert_eq!(builder.as_command_line(), "bash -c echo 'hello world'");
179 }
180
181 #[test]
182 fn test_wrap_and_build() {

Callers

nothing calls this directly

Calls 2

wrapMethod · 0.80
argMethod · 0.80

Tested by

no test coverage detected