 true}));
    } else {
      assertNodes([], slot.assignedNodes({flatten: true}));
    }
  }

  const lp5 = $('#lp5');
  const s5 = lp5.shadowRoot.querySelector('slot');
  assertNodes(['default', 'other'], s5.assignedNodes());

  const lp6 = $('#lp6');
  const s6 = lp6.shadowRoot.querySelectorAll('slot');
  assertNodes(['default2'], s6[0].assignedNodes({}));
  assertNodes(['default2'], s6[0].assignedNodes({flatten: true}));
  assertNodes(['More ', ' ', '!!'], s6[1].assignedNodes({}));
  assertNodes(['More '