From 776b68ff71d00b5520577bd003b6f485c6c7e2e0 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Fri, 5 May 2017 12:10:37 -0400 Subject: [PATCH] fix bug in assert.htmlEqual --- test/helpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/helpers.js b/test/helpers.js index 4318d6d364..64b4814e80 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -86,6 +86,7 @@ function cleanChildren ( node ) { previous.data = previous.data.replace( /\s{2,}/, '\n' ); node.removeChild( child ); + child = previous; } }