From: kangax Date: Tue, 21 Jan 2014 19:21:32 +0000 (-0500) Subject: Add test X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e2fd9627d22dbded59976b2228eb71734d6b0aa7;p=html-minifier.git Add test --- diff --git a/tests/minifier.js b/tests/minifier.js index cdce676..93eca6c 100644 --- a/tests/minifier.js +++ b/tests/minifier.js @@ -715,4 +715,16 @@ }); + test('bootstrap\'s span > button > span', function() { + input = '' + + '\n ' + + ''; + + output = ''; + + equal(minify(input, { collapseWhitespace: true, removeAttributeQuotes: true }), output); + }); + })(typeof exports === 'undefined' ? window : exports);