diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-04-02 21:31:46 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-04-02 21:31:46 +0200 |
commit | c023c35a1a4795ebe7e700823c880566007c4c76 (patch) | |
tree | 52180eec30930494422a606ffd455dc9556735e8 /testing/tests/include.rs | |
parent | 0bc388145046750760e6a722629cb78b1e656652 (diff) | |
download | askama-c023c35a1a4795ebe7e700823c880566007c4c76.tar.gz askama-c023c35a1a4795ebe7e700823c880566007c4c76.tar.bz2 askama-c023c35a1a4795ebe7e700823c880566007c4c76.zip |
Fix whitespace handling for include blocks (fixes #69)
Diffstat (limited to '')
-rw-r--r-- | testing/tests/include.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/include.rs b/testing/tests/include.rs index f474c55..f0158d7 100644 --- a/testing/tests/include.rs +++ b/testing/tests/include.rs @@ -13,5 +13,5 @@ struct IncludeTemplate<'a> { fn test_include() { let strs = vec!["foo", "bar"]; let s = IncludeTemplate { strs: &strs }; - assert_eq!(s.render().unwrap(), "INCLUDED: fooINCLUDED: bar") + assert_eq!(s.render().unwrap(), "\n INCLUDED: foo\n INCLUDED: bar") } |