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

Function test_wrap_without_args

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

wrapMethod · 0.80
argMethod · 0.80

Tested by

no test coverage detected