Skip to content

Commit 7fa09c8

Browse files
committed
Refactor some code
1 parent 84d6a21 commit 7fa09c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -347,14 +347,14 @@ test('`element`', async function (t) {
347347
)
348348
})
349349

350-
await t.test('should prevent clobbering (#1)', async function () {
350+
await t.test('should prevent clobbering (`id`)', async function () {
351351
assert.deepEqual(
352352
sanitize(h('div', {id: 'getElementById'})),
353353
h('div', {id: 'user-content-getElementById'})
354354
)
355355
})
356356

357-
await t.test('should prevent clobbering (#2)', async function () {
357+
await t.test('should prevent clobbering (`name`)', async function () {
358358
assert.deepEqual(
359359
sanitize(h('div', {name: 'getElementById'})),
360360
h('div', {name: 'user-content-getElementById'})

0 commit comments

Comments
 (0)