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

Function test_strip_json_block

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

Source from the content-addressed store, hash-verified

645
646#[test]
647fn test_strip_json_block() {
648 let input = "```json\n{\"intent\": \"test\"}\n```";
649 assert_eq!(strip_markdown_code_blocks(input), r#"{"intent": "test"}"#);
650}
651
652#[test]
653fn test_strip_plain_block() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected