From c023c35a1a4795ebe7e700823c880566007c4c76 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 2 Apr 2018 21:31:46 +0200 Subject: Fix whitespace handling for include blocks (fixes #69) --- testing/tests/include.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests/include.rs') 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") } -- cgit