normalize crlf

pull/6990/head
yosuke ota 5 years ago
parent 8d90e0eb4f
commit 89fb2c23e1

@ -84,7 +84,7 @@ describe('ssr', () => {
try { try {
if (config.withoutNormalizeHtml) { if (config.withoutNormalizeHtml) {
assert.strictEqual(html.trim(), expectedHtml.trim()); assert.strictEqual(html.trim(), expectedHtml.trim().replace(/\r\n/g, '\n'));
} else { } else {
(compileOptions.preserveComments (compileOptions.preserveComments
? assert.htmlEqualWithComments ? assert.htmlEqualWithComments

Loading…
Cancel
Save