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

Function test_strip_with_whitespace

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

Source from the content-addressed store, hash-verified

657
658#[test]
659fn test_strip_with_whitespace() {
660 let input = " ```json\n {\"intent\": \"test\"} \n``` ";
661 let result = strip_markdown_code_blocks(input);
662 assert!(result.contains("intent"));
663}
664
665#[test]
666fn test_strip_no_closing() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected