aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/templates/operators.html (renamed from testing/templates/comparison.html)0
-rw-r--r--testing/tests/operators.rs (renamed from testing/tests/comparison.rs)8
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/templates/comparison.html b/testing/templates/operators.html
index ea22546..ea22546 100644
--- a/testing/templates/comparison.html
+++ b/testing/templates/operators.html
diff --git a/testing/tests/comparison.rs b/testing/tests/operators.rs
index 20214a0..0154118 100644
--- a/testing/tests/comparison.rs
+++ b/testing/tests/operators.rs
@@ -5,15 +5,15 @@ extern crate askama_derive;
use askama::Template;
#[derive(Template)]
-#[template(path = "comparison.html")]
-struct ComparisonTemplate {
+#[template(path = "operators.html")]
+struct OperatorsTemplate {
a: usize,
b: usize,
c: usize,
}
#[test]
-fn test_comparison() {
- let t = ComparisonTemplate { a: 1, b: 1, c: 2 };
+fn test_operators() {
+ let t = OperatorsTemplate { a: 1, b: 1, c: 2 };
assert_eq!(t.render(), "tf\ntf\ntf\ntf\ntf\ntf\n");
}