MCPcopy Create free account
hub / github.com/coooodeer/parse-rust / test_split_format_simple

Function test_split_format_simple

src/compiler.rs:725–729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

723
724 #[test]
725 fn test_split_format_simple() {
726 let compiler = FormatCompiler::new(false);
727 let parts = compiler.split_format("Hello {}!");
728 assert_eq!(parts.len(), 3); // "Hello ", field, "!"
729 }
730
731 #[test]
732 fn test_split_format_named() {

Callers

nothing calls this directly

Calls 1

split_formatMethod · 0.80

Tested by

no test coverage detected