fix test for CRLF

pull/7280/head
yosuke ota 4 years ago
parent ece59b4d11
commit 1464caf170

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

Loading…
Cancel
Save