MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_render_template

Function test_render_template

core/src/prompts.rs:621–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619
620 #[test]
621 fn test_render_template() {
622 let result = render(
623 PLAN_EXECUTE_GOAL,
624 &[("goal", "Build app"), ("steps", "1. Init")],
625 );
626 assert!(result.contains("Build app"));
627 assert!(!result.contains("{goal}"));
628 }
629
630 #[test]
631 fn test_render_multiple_placeholders() {

Callers

nothing calls this directly

Calls 1

renderFunction · 0.85

Tested by

no test coverage detected