aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/comparison.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-13 21:55:47 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-13 21:57:29 +0100
commita6b4f305e948cdf327b45abe52b27a4d81013d5d (patch)
tree609db336330a0e7ad5332abfdafdc45a6d9f9231 /testing/tests/comparison.rs
parent3000d98a04882655cabe71dd590716d73cd892da (diff)
downloadaskama-a6b4f305e948cdf327b45abe52b27a4d81013d5d.tar.gz
askama-a6b4f305e948cdf327b45abe52b27a4d81013d5d.tar.bz2
askama-a6b4f305e948cdf327b45abe52b27a4d81013d5d.zip
Rename comparison tests to be about any operators
Diffstat (limited to 'testing/tests/comparison.rs')
-rw-r--r--testing/tests/comparison.rs19
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");
-}