diff options
Diffstat (limited to 'testing/tests/comparison.rs')
-rw-r--r-- | testing/tests/comparison.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/testing/tests/comparison.rs b/testing/tests/comparison.rs deleted file mode 100644 index 20214a0..0000000 --- a/testing/tests/comparison.rs +++ /dev/null @@ -1,19 +0,0 @@ -extern crate askama; -#[macro_use] -extern crate askama_derive; - -use askama::Template; - -#[derive(Template)] -#[template(path = "comparison.html")] -struct ComparisonTemplate { - a: usize, - b: usize, - c: usize, -} - -#[test] -fn test_comparison() { - let t = ComparisonTemplate { a: 1, b: 1, c: 2 }; - assert_eq!(t.render(), "tf\ntf\ntf\ntf\ntf\ntf\n"); -} |