1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 15:44:51 +02:00

ref(tests): Minor fix to use self-closing input HTML tag (#36667)

This commit is contained in:
Julien Déramond
2022-07-04 13:12:10 +02:00
committed by GitHub
parent a13f432db4
commit c1813ef2bc
3 changed files with 5 additions and 5 deletions

View File

@@ -425,8 +425,8 @@ describe('Util', () => {
it('should return true if the element has disabled attribute', () => {
fixtureEl.innerHTML = [
'<div>',
' <input id="input" disabled="disabled"/>',
' <input id="input1" disabled="disabled"/>',
' <input id="input" disabled="disabled">',
' <input id="input1" disabled="disabled">',
' <button id="button" disabled="true"></button>',
' <button id="button1" disabled="disabled"></button>',
' <button id="button2" disabled></button>',
@@ -460,7 +460,7 @@ describe('Util', () => {
it('should return true if the element has class "disabled" but disabled attribute is false', () => {
fixtureEl.innerHTML = [
'<div>',
' <input id="input" class="disabled" disabled="false"/>',
' <input id="input" class="disabled" disabled="false">',
'</div>'
].join('')