prompt: close whitespace-control include validation gap

This commit is contained in:
2026-08-14 13:58:11 +09:00
parent a6f92104fa
commit a1f6a6bad5
7 changed files with 46 additions and 25 deletions
@@ -130,8 +130,8 @@ mod tests {
.unwrap()])
.unwrap();
for source in [
r#"{ prompts = { common = { language = "{% include target %}"; }; }; }"#,
r#"{ prompts = { common = { language = "{% include \"missing\" %}"; }; }; }"#,
r#"{ prompts = { common = { language = "{%- include target -%}"; }; }; }"#,
r#"{ prompts = { common = { language = "{%- include \"missing\" -%}"; }; }; }"#,
r#"{ prompts = { common = { language = "{% include \"common.workspace\" %}"; workspace = "{% include \"common.language\" %}"; }; }; }"#,
] {
let snapshot = ConfigTreeSnapshot::from_entries(