From 614ed6d16ff5aa71d0522bc819cce59a91f7164c Mon Sep 17 00:00:00 2001 From: larros Date: Sun, 1 Oct 2017 18:00:05 +0200 Subject: Fix whitespace handling for macros and imports (#55) Resolves https://github.com/djc/askama/issues/52. * Fix of review comments --- testing/tests/macro.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests/macro.rs') diff --git a/testing/tests/macro.rs b/testing/tests/macro.rs index 25d95d8..fb54f88 100644 --- a/testing/tests/macro.rs +++ b/testing/tests/macro.rs @@ -12,7 +12,7 @@ struct MacroTemplate<'a> { #[test] fn test_macro() { let t = MacroTemplate { s: "foo" }; - assert_eq!(t.render().unwrap(), "foo foo foo"); + assert_eq!(t.render().unwrap(), "12foo foo foo3"); } #[derive(Template)] -- cgit