MCPcopy Create free account
hub / github.com/ddddddeon/a / gather_args_zero_args

Function gather_args_zero_args

tests/integration.rs:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30#[test]
31fn gather_args_zero_args() -> Result<(), Box<dyn Error>> {
32 let prompt = String::from("\n");
33 let mut args: Vec<String> = prompt.split_whitespace().map(str::to_string).collect();
34 match a::gather_args(&mut args) {
35 Ok(_) => Err("run() should return Err() if no args are present".into()),
36 Err(_) => Ok(()),
37 }
38}
39
40#[test]
41fn prompt_without_api_key() -> Result<(), Box<dyn Error>> {

Callers

nothing calls this directly

Calls 1

gather_argsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…