aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/tests/simple.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs
index 61f5fa4..697dbd2 100644
--- a/testing/tests/simple.rs
+++ b/testing/tests/simple.rs
@@ -55,14 +55,14 @@ fn test_else() {
#[derive(Template)]
-#[template(path = "elif.html")]
-struct ElIfTemplate {
+#[template(path = "else-if.html")]
+struct ElseIfTemplate {
cond: bool,
check: bool,
}
#[test]
-fn test_elif() {
- let s = ElIfTemplate { cond: false, check: true };
+fn test_else_if() {
+ let s = ElseIfTemplate { cond: false, check: true };
assert_eq!(s.render(), "checked\n");
}