mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 15:53:12 +00:00
Merge pull request #82 from mysticatea/fixes-a-wrong-test
Fixes a wrong test for HTMLContentElement
This commit is contained in:
@@ -56,7 +56,8 @@ suite('HTMLContentElement', function() {
|
||||
df.appendChild(document.createTextNode(' '));
|
||||
root.appendChild(df);
|
||||
|
||||
assertArrayEqual(content.getDistributedNodes().length, 3);
|
||||
assert.equal(content.getDistributedNodes().length, 7);
|
||||
assertArrayEqual(content.getDistributedNodes(), host.childNodes);
|
||||
});
|
||||
|
||||
test('getDistributedNodes add content deep inside tree', function() {
|
||||
|
||||
Reference in New Issue
Block a user