blob: f02189d6b5c463e818618492d574fcf9e7dfd50b (
plain) (
tree)
|
|
#[macro_use]
extern crate askama;
use askama::Template;
#[derive(Template)]
#[template(path = "precedence.html")]
struct PrecedenceTemplate {
}
#[test]
fn test_precedence() {
let t = PrecedenceTemplate { };
assert_eq!(t.render().unwrap(), "6".repeat(7));
}
|