From cdafc8d641632ed89fb6435bfebd70d27bfa74ba Mon Sep 17 00:00:00 2001 From: Juan Aguilar Santillana Date: Fri, 7 Dec 2018 19:47:33 +0100 Subject: Fix cargo fmt --- testing/tests/filters.rs | 5 +---- testing/tests/simple.rs | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'testing/tests') 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, } -- cgit