From a407cd477bc50582994f21bc8c4f9fc961e177fd Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sun, 19 Feb 2017 14:19:11 +0100 Subject: Add basic test for loop variables --- testing/tests/simple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests') diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 8e5c85a..454c1e2 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -77,7 +77,7 @@ fn test_for() { let s = ForTemplate { strings: vec!["A", "alfa", "1"], }; - assert_eq!(s.render(), "\n A\n\n alfa\n\n 1\n\n"); + assert_eq!(s.render(), "0. A\n1. alfa\n2. 1\n\n"); } -- cgit