aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/macro.rs
diff options
context:
space:
mode:
authorLibravatar larros <larserik.rosengren@gmail.com>2017-10-01 18:00:05 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-10-01 18:00:05 +0200
commit614ed6d16ff5aa71d0522bc819cce59a91f7164c (patch)
tree153f50a8be1ae3d4d091590dd0b97c6ff9aca44f /testing/tests/macro.rs
parent8882ec000ddbf37465afbdb337222f113bceffcd (diff)
downloadaskama-614ed6d16ff5aa71d0522bc819cce59a91f7164c.tar.gz
askama-614ed6d16ff5aa71d0522bc819cce59a91f7164c.tar.bz2
askama-614ed6d16ff5aa71d0522bc819cce59a91f7164c.zip
Fix whitespace handling for macros and imports (#55)
Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
Diffstat (limited to 'testing/tests/macro.rs')
-rw-r--r--testing/tests/macro.rs2
1 files changed, 1 insertions, 1 deletions
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)]