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

Function test_strip_plain_block

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

Source from the content-addressed store, hash-verified

651
652#[test]
653fn test_strip_plain_block() {
654 let input = "```\n{\"intent\": \"test\"}\n```";
655 assert_eq!(strip_markdown_code_blocks(input), r#"{"intent": "test"}"#);
656}
657
658#[test]
659fn test_strip_with_whitespace() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected