From 5e86393eeffc0d7a4969c610f34f61b65b697040 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Mon, 4 Apr 2016 19:10:16 +0800 Subject: [PATCH] enable more PHPTAL tests --- tests/minifier.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tests/minifier.js b/tests/minifier.js index 39818ee..ca2267d 100644 --- a/tests/minifier.js +++ b/tests/minifier.js @@ -2364,14 +2364,17 @@ test('tests from PHPTAL', function() { ['
', '
'],*/ ['xxxx
foo
', ' x x x x
foo
'], ['', ' '], - /* minifier does not reorder attributes - ['x', 'x'], - ['', ''],*/ + // closing slash and optional attribute quotes removed by minifier, but not by PHPTAL + // attribute ordering differences between minifier and PHPTAL + ['x', 'x'], + ['', ''], ['
\n\n\ntest
', '
\n\n\ntest
'], /* single line-break preceding
 is redundant, assuming 
 is block element
     ['
test
', '
\ntest
'],*/ - // optional attribute quotes removed by minifier, but not by PHPTAL - ['', ''], + // closing slash and optional attribute quotes removed by minifier, but not by PHPTAL + // attribute ordering differences between minifier and PHPTAL + // redundant inter-attribute spacing removed by minifier, but not by PHPTAL + ['', ''], /* minifier does not optimise in HTML5 mode ['', ''],*/ /* minifier does not optimise