diff --git a/js/test/beautify-tests.js b/js/test/beautify-tests.js index 65d61924b..ed9164f00 100755 --- a/js/test/beautify-tests.js +++ b/js/test/beautify-tests.js @@ -1788,7 +1788,22 @@ function run_beautifier_tests(test_obj, Urlencoded, js_beautify, html_beautify, ' }\n'+ ''); // END tests for issue 453 - + + var unformatted = opts.unformatted; + opts.unformatted = ['script', 'style']; + bth(''); + bth(''); + opts.unformatted = unformatted; + // Tests that don't pass, but probably should. // bth('
content
'); @@ -1978,19 +1993,6 @@ function run_beautifier_tests(test_obj, Urlencoded, js_beautify, html_beautify, opts.preserve_newlines = false; bth('
\n\tfoo\n
', '
foo
'); - opts.unformatted = ['script', 'style']; - bth(''); - bth(''); - opts.preserve_newlines = true; bth('
\n\tfoo\n
');