fix bug in assert.htmlEqual

pull/7738/head
Rich-Harris 9 years ago
parent 3d8a09880b
commit 2fab5c1cb8

@ -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…
Cancel
Save