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

Function test_wrap_without_args

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

Source from the content-addressed store, hash-verified

157
158 #[test]
159 fn test_wrap_without_args() {
160 let mut builder = CommandBuilder::new("ls");
161 builder.arg("-la").wrap("time", [] as [&str; 0]);
162 assert_eq!(builder.as_command_line(), "time ls -la");
163 }
164
165 #[test]
166 fn test_multiple_wraps() {

Callers

nothing calls this directly

Calls 2

wrapMethod · 0.80
argMethod · 0.80

Tested by

no test coverage detected