mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 00:46:29 +01:00
fix bug in assert.htmlEqual
This commit is contained in:
parent
24c4a7c9f0
commit
776b68ff71
@ -86,6 +86,7 @@ function cleanChildren ( node ) {
|
|||||||
previous.data = previous.data.replace( /\s{2,}/, '\n' );
|
previous.data = previous.data.replace( /\s{2,}/, '\n' );
|
||||||
|
|
||||||
node.removeChild( child );
|
node.removeChild( child );
|
||||||
|
child = previous;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user