Skip to content

Commit 3c7ec23

Browse files
fix assertion
1 parent 7935db2 commit 3c7ec23

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/djls-templates/src/templatetags/snippets.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,10 @@ mod tests {
251251
};
252252

253253
let snippet = generate_snippet_for_tag_with_end("autoescape", &spec);
254-
assert_eq!(snippet, "autoescape ${1|on,off|} %}\n$0\n{% endautoescape");
254+
assert_eq!(
255+
snippet,
256+
"autoescape ${1|on,off|} %}\n$0\n{% endautoescape %}"
257+
);
255258
}
256259

257260
#[test]

0 commit comments

Comments
 (0)