diff --git a/test/enhance.test.mjs b/test/enhance.test.mjs
index 941cc09..911f360 100644
--- a/test/enhance.test.mjs
+++ b/test/enhance.test.mjs
@@ -1102,3 +1102,28 @@ test('multiple slots with unnamed slot first', t => {
)
t.end()
})
+
+test('multiple items in the same slot', t => {
+ const html = enhance({
+ bodyContent: true,
+ elements: {
+ 'multiple-slots': MultipleSlots,
+ }
+ })
+ const actual = html`
+ unnamed slotslot One
more One
even more One
+ `
+ const expected = `
+
+ unnamed slotslot One
+ more One
+ even more One
+
+`
+ t.equal(
+ strip(actual),
+ strip(expected),
+ 'multiple items in the same slot'
+ )
+ t.end()
+})