diff options
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(), |