fix html test
This commit is contained in:
parent
6e45311b57
commit
9dfd573e87
|
@ -79,7 +79,7 @@ suite('HTML Embedded Formatting', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test('HTML & Multiple Scripts', function (): any {
|
test('HTML & Multiple Scripts', function (): any {
|
||||||
assertFormat('<html><head>\n<script>\nif(x){\nbar(); }\n</script><script>\nfunction(x){}\n</script></head></html>', '<html>\n\n<head>\n <script>\n if (x) {\n bar();\n }\n\n </script>\n <script>\n function(x) { }\n\n </script>\n</head>\n\n</html>');
|
assertFormat('<html><head>\n<script>\nif(x){\nbar(); }\n</script><script>\nfunction(x){ }\n</script></head></html>', '<html>\n\n<head>\n <script>\n if (x) {\n bar();\n }\n\n </script>\n <script>\n function(x) {}\n\n </script>\n</head>\n\n</html>');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('HTML & Styles', function (): any {
|
test('HTML & Styles', function (): any {
|
||||||
|
|
Loading…
Reference in a new issue