MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / skips_empty_and_whitespace

Function skips_empty_and_whitespace

crates/openshell-core/src/inference.rs:347–351  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345
346 #[test]
347 fn skips_empty_and_whitespace() {
348 let input = vec![String::new(), " ".to_string(), "valid".to_string()];
349 let result = normalize_protocols(&input);
350 assert_eq!(result, vec!["valid"]);
351 }
352
353 #[test]
354 fn empty_input() {

Callers

nothing calls this directly

Calls 1

normalize_protocolsFunction · 0.85

Tested by

no test coverage detected