@@ -27,7 +27,7 @@ $(function () {
2727
2828 QUnit . test ( 'should throw explicit error on undefined method' , function ( assert ) {
2929 assert . expect ( 1 )
30- var $el = $ ( '<div/ >' )
30+ var $el = $ ( '<div></div >' )
3131 $el . bootstrapTab ( )
3232 try {
3333 $el . bootstrapTab ( 'noMethod' )
@@ -38,7 +38,7 @@ $(function () {
3838
3939 QUnit . test ( 'should return jquery collection containing the element' , function ( assert ) {
4040 assert . expect ( 2 )
41- var $el = $ ( '<div/ >' )
41+ var $el = $ ( '<div></div >' )
4242 var $tab = $el . bootstrapTab ( )
4343 assert . ok ( $tab instanceof $ , 'returns jquery collection' )
4444 assert . strictEqual ( $tab [ 0 ] , $el [ 0 ] , 'collection contains element' )
@@ -51,7 +51,7 @@ $(function () {
5151 '<li><button type="button" data-target="#profile" role="tab">Profile</button></li>' +
5252 '</ul>'
5353
54- $ ( '<ul><li id="home" role="tabpanel"/ ><li id="profile" role="tabpanel"/ ></ul>' ) . appendTo ( '#qunit-fixture' )
54+ $ ( '<ul><li id="home" role="tabpanel"></li ><li id="profile" role="tabpanel"></li ></ul>' ) . appendTo ( '#qunit-fixture' )
5555
5656 $ ( tabsHTML ) . find ( 'li:last-child button' ) . bootstrapTab ( 'show' )
5757 assert . strictEqual ( $ ( '#qunit-fixture' ) . find ( '.active' ) . attr ( 'id' ) , 'profile' )
@@ -67,7 +67,7 @@ $(function () {
6767 '<li><a href="#profile" role="tab">Profile</a></li>' +
6868 '</ul>'
6969
70- $ ( '<ul><li id="home" role="tabpanel"/ ><li id="profile" role="tabpanel"/ ></ul>' ) . appendTo ( '#qunit-fixture' )
70+ $ ( '<ul><li id="home" role="tabpanel"></li ><li id="profile" role="tabpanel"></li ></ul>' ) . appendTo ( '#qunit-fixture' )
7171
7272 $ ( tabsHTML ) . find ( 'li:last-child a' ) . bootstrapTab ( 'show' )
7373 assert . strictEqual ( $ ( '#qunit-fixture' ) . find ( '.active' ) . attr ( 'id' ) , 'profile' )
@@ -83,7 +83,7 @@ $(function () {
8383 '<li><a href="#profile">Profile</a></li>' +
8484 '</ul>'
8585
86- $ ( '<ul><li id="home"/ ><li id="profile"/ ></ul>' ) . appendTo ( '#qunit-fixture' )
86+ $ ( '<ul><li id="home"></li ><li id="profile"></li ></ul>' ) . appendTo ( '#qunit-fixture' )
8787
8888 $ ( pillsHTML ) . find ( 'li:last-child a' ) . bootstrapTab ( 'show' )
8989 assert . strictEqual ( $ ( '#qunit-fixture' ) . find ( '.active' ) . attr ( 'id' ) , 'profile' )
@@ -99,7 +99,7 @@ $(function () {
9999 '<li><button type="button" href="#profile" role="tab">Profile</button></li>' +
100100 '</ol>'
101101
102- $ ( '<ol><li id="home" role="tabpanel"/ ><li id="profile" role="tabpanel"/ ></ol>' ) . appendTo ( '#qunit-fixture' )
102+ $ ( '<ol><li id="home" role="tabpanel"></li ><li id="profile" role="tabpanel"></li ></ol>' ) . appendTo ( '#qunit-fixture' )
103103
104104 $ ( pillsHTML ) . find ( 'li:last-child button' ) . bootstrapTab ( 'show' )
105105 assert . strictEqual ( $ ( '#qunit-fixture' ) . find ( '.active' ) . attr ( 'id' ) , 'profile' )
@@ -144,7 +144,7 @@ $(function () {
144144 assert . expect ( 1 )
145145 var done = assert . async ( )
146146
147- $ ( '<div class="nav"/ >' )
147+ $ ( '<div class="nav"></div >' )
148148 . on ( 'show.bs.tab' , function ( e ) {
149149 e . preventDefault ( )
150150 assert . ok ( true , 'show event fired' )
0 commit comments