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

Function plain_format_with_fields

crates/openshell-tui/src/ui/sandbox_logs.rs:452–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450
451 #[test]
452 fn plain_format_with_fields() {
453 let log = make_log(
454 "CONNECT",
455 vec![("dst_host", "example.com"), ("dst_port", "443")],
456 );
457 let result = format_log_line_plain(&log);
458 assert!(result.contains("dst_host=example.com"));
459 assert!(result.contains("dst_port=443"));
460 }
461
462 #[test]
463 fn plain_format_skips_empty_fields() {

Callers

nothing calls this directly

Calls 2

make_logFunction · 0.85
format_log_line_plainFunction · 0.85

Tested by

no test coverage detected