aboutsummaryrefslogblamecommitdiffstats
path: root/testing/tests/precedence.rs
blob: f02189d6b5c463e818618492d574fcf9e7dfd50b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                   
#[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));
}