test for conflicting slot names

pull/7738/head
Rich Harris 7 years ago
parent a2503b2c9e
commit 844a483011

@ -3,4 +3,6 @@
<slot name="-header2_" /> <slot name="-header2_" />
<slot name="3header" /> <slot name="3header" />
<slot name="_header4" /> <slot name="_header4" />
<slot name="header-5" />
<slot name="header&5" />
</div> </div>

@ -5,6 +5,8 @@ export default {
<h2 slot="-header2_">Header 2</h2> <h2 slot="-header2_">Header 2</h2>
<h3 slot="3header">Header 3</h3> <h3 slot="3header">Header 3</h3>
<h4 slot="_header4">Header 4</h4> <h4 slot="_header4">Header 4</h4>
<h5 slot="header-5">Header 5</h5>
<h5 slot="header&5">Header 5b</h5>
</div> </div>
` `
}; };

@ -7,4 +7,6 @@
<h2 slot="-header2_">Header 2</h2> <h2 slot="-header2_">Header 2</h2>
<h3 slot="3header">Header 3</h3> <h3 slot="3header">Header 3</h3>
<h4 slot="_header4">Header 4</h4> <h4 slot="_header4">Header 4</h4>
<h5 slot="header-5">Header 5</h5>
<h5 slot="header&5">Header 5b</h5>
</Nested> </Nested>

Loading…
Cancel
Save