diff --git a/test/unit.js b/test/unit.js index c0caf9c..c0da446 100644 --- a/test/unit.js +++ b/test/unit.js @@ -222,7 +222,7 @@ test("'#' (Sections)", function() { }, {} ), - '\n t1\n 0\n t2\n 1\n\n t1\n 0\n t2\n 1\n\n', + '\n t1\n 0\n\n t2\n 1\n\n\n t1\n 0\n\n t2\n 1\n\n', 'Lazy match of Section and Inverted Section' ); @@ -239,7 +239,7 @@ test("'#' (Sections)", function() { }, {} ), - '\n

this is an object

\n

one of its attributes is a list

\n \n', + '\n

this is an object

\n

one of its attributes is a list

\n \n\n', 'Lazy match of Section and Inverted Section' ); }); @@ -520,15 +520,7 @@ test("Demo", function() { } }; - var expected_result = [ - '

Colors

', - ' ', - '' - ].join('\n'); + var expected_result = '

Colors

\n\n \n\n'; equals( Mustache.to_html(