MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_condense_bash_with_command

Function test_condense_bash_with_command

atomic-agent/src/transcript/tests.rs:125–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123
124#[test]
125fn test_condense_bash_with_command() {
126 let jsonl = br#"{"type":"assistant","uuid":"6","message":{"content":[{"type":"tool_use","name":"Bash","input":{"command":"cargo test"}}]}}"#;
127 let entries = condense_claude_transcript(jsonl);
128 assert_eq!(entries.len(), 1);
129 assert_eq!(entries[0].tool_detail.as_deref(), Some("cargo test"));
130}
131
132#[test]
133fn test_condense_multi_line() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected