diff --git a/test/runtime/samples/nbsp-div/_config.js b/test/runtime/samples/nbsp-div/_config.js index 3114328b9d..32e4d23703 100644 --- a/test/runtime/samples/nbsp-div/_config.js +++ b/test/runtime/samples/nbsp-div/_config.js @@ -1,15 +1,17 @@ export default { html: `
 hello
-
 hello 
-
 hello hello
`, +
 hello  
+
 hello  hello
`, test({ assert, component, target }) { var divList = target.querySelectorAll('div') assert.equal( divList[0].textContent.charCodeAt( 0 ), 160 ); assert.equal( divList[1].textContent.charCodeAt( 0 ), 160 ); assert.equal( divList[1].textContent.charCodeAt( 6 ), 160 ); + assert.equal( divList[1].textContent.charCodeAt( 7 ), 160 ); assert.equal( divList[2].textContent.charCodeAt( 0 ), 160 ); assert.equal( divList[2].textContent.charCodeAt( 6 ), 160 ); + assert.equal( divList[2].textContent.charCodeAt( 7 ), 160 ); }