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:
@@ -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('')
|
||||
|
||||
|
Reference in New Issue
Block a user