diff options
Diffstat (limited to '')
| -rw-r--r-- | testing/tests/filters.rs | 5 | ||||
| -rw-r--r-- | testing/tests/simple.rs | 5 | 
2 files changed, 2 insertions, 8 deletions
| diff --git a/testing/tests/filters.rs b/testing/tests/filters.rs index d6e9782..0e48b05 100644 --- a/testing/tests/filters.rs +++ b/testing/tests/filters.rs @@ -164,10 +164,7 @@ fn test_filter_let_filter() {  }  #[derive(Template)] -#[template( -    source = "{{ foo|truncate(10) }}{{ foo|truncate(5) }}", -    ext = "txt" -)] +#[template(source = "{{ foo|truncate(10) }}{{ foo|truncate(5) }}", ext = "txt")]  struct TruncateFilter {      foo: String,  } diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 7206add..2cb404e 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -222,10 +222,7 @@ 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,  } | 
