revert mistaken edit

pull/16485/head
Nathan Shively-Sanders 1 month ago
parent 84b50a6468
commit c2f5e05ee4

@ -1,5 +1,6 @@
/** @import { assert } from 'vitest' */ /** @import { assert } from 'vitest' */
import { parse } from 'svelte/compiler'; /** @import { CompileOptions, Warning } from '#compiler' */
import { ELEMENT_NODE } from '#client/constants'; import { ELEMENT_NODE } from '#client/constants';
/** /**
@ -19,8 +20,6 @@ export function deepEqual(a, b, message) {
* @returns {boolean} * @returns {boolean}
*/ */
function is_equal(a, b) { function is_equal(a, b) {
const input = '\uFEFF<div></div>';
const actual = parse(input, { modern: true });
if (a && typeof a === 'object') { if (a && typeof a === 'object') {
const is_array = Array.isArray(a); const is_array = Array.isArray(a);
if (Array.isArray(b) !== is_array) return false; if (Array.isArray(b) !== is_array) return false;

Loading…
Cancel
Save