diff options
Diffstat (limited to 'testing/tests')
-rw-r--r-- | testing/tests/simple.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 519b87c..168644a 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -1,4 +1,4 @@ -use askama::Template; +use askama::{SizedTemplate, Template}; use std::collections::HashMap; @@ -24,7 +24,7 @@ fn test_variables() { Iñtërnâtiônàlizætiøn is important\n\ in vars too: Iñtërnâtiônàlizætiøn" ); - assert_eq!(VariablesTemplate::extension(), Some("html")); + assert_eq!(<VariablesTemplate as SizedTemplate>::extension(), Some("html")); } #[derive(Template)] |