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

Function quoted_values_keep_spaces

atomic-canonical/src/directive.rs:387–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385
386 #[test]
387 fn quoted_values_keep_spaces() {
388 let body = ":::why{}\nprose\n:::";
389 let ds = parse(body).unwrap();
390 assert_eq!(ds[0].name, "why");
391 assert_eq!(ds[0].body, "prose");
392 }
393
394 #[test]
395 fn unknown_directive_is_error() {

Callers

nothing calls this directly

Calls 2

parseFunction · 0.70
unwrapMethod · 0.45

Tested by

no test coverage detected