diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-01-07 21:01:46 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-01-07 21:01:46 +0100 |
commit | 9800a5ab6499a7d3488fc4db49d92b5f156b3940 (patch) | |
tree | 25fa811f8394daca33c06c34edd1de8d009bd911 | |
parent | 5d193ce822fab739f889a70c1defa402ddea8eab (diff) | |
download | askama-9800a5ab6499a7d3488fc4db49d92b5f156b3940.tar.gz askama-9800a5ab6499a7d3488fc4db49d92b5f156b3940.tar.bz2 askama-9800a5ab6499a7d3488fc4db49d92b5f156b3940.zip |
Rename it_works() test function to test_variables()
Diffstat (limited to '')
-rw-r--r-- | testing/tests/simple.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 0943f12..c287c5f 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -8,15 +8,15 @@ use askama::Template; #[derive(Template)] #[template(path = "simple.html")] -struct TestTemplate { +struct VariablesTemplate { strvar: String, num: i64, i18n: String, } #[test] -fn it_works() { - let s = TestTemplate { +fn test_variables() { + let s = VariablesTemplate { strvar: "foo".to_string(), num: 42, i18n: "Iñtërnâtiônàlizætiøn".to_string(), |