MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / parse_escaped_braces

Function parse_escaped_braces

cloud-hypervisor/src/logger.rs:248–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246
247 #[test]
248 fn parse_escaped_braces() {
249 let tokens = parse_format("{{not-a-token}}").unwrap();
250 assert_eq!(render(&tokens), "L({not-a-token})");
251 }
252
253 #[test]
254 fn parse_escaped_braces_around_token() {

Callers

nothing calls this directly

Calls 1

parse_formatFunction · 0.85

Tested by

no test coverage detected