diff options
Diffstat (limited to '')
-rw-r--r-- | testing/tests/operators.rs (renamed from testing/tests/comparison.rs) | 8 |
1 files changed, 4 insertions, 4 deletions
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"); } |