8000 Update relative-time.js · github/relative-time-element@942896a · GitHub
[go: up one dir, main page]

Skip to content

Commit 942896a

Browse files
authored
Update relative-time.js
1 parent 4f8eefb commit 942896a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/relative-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ suite('relative-time', function () {
8383
assert.equal(el.getAttribute('title'), text)
8484
})
8585

86-
test('does not set title if no-title=true', async () => {
86+
test('does not set title if no-title attribute is present', async () => {
8787
const el = document.createElement('relative-time')
8888
el.setAttribute('datetime', new Date().toISOString())
8989
el.setAttribute('no-title', '')

0 commit comments

Comments
 (0)
0