0
0
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:
Rich-Harris 2017-05-05 12:10:37 -04:00
parent 24c4a7c9f0
commit 776b68ff71

View File

@ -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;
} }
} }