diff options
Diffstat (limited to 'testing/tests/simple.rs')
-rw-r--r-- | testing/tests/simple.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 4af2cea..9575daa 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -182,7 +182,10 @@ enum Alphabet { } #[derive(Template)] -#[template(source = "{% if x == Alphabet::Alpha %}true{% endif %}", ext = "txt")] +#[template( + source = "{% if x == Alphabet::Alpha %}true{% endif %}", + ext = "txt" +)] struct PathCompareTemplate { x: Alphabet, } @@ -194,7 +197,10 @@ fn test_path_compare() { } #[derive(Template)] -#[template(source = "{% for i in [\"a\", \"\"] %}{{ i }}{% endfor %}", ext = "txt")] +#[template( + source = "{% for i in [\"a\", \"\"] %}{{ i }}{% endfor %}", + ext = "txt" +)] struct ArrayTemplate {} #[test] |