@@ -55,8 +55,8 @@ test('svg', function(t) {
5555
5656 t . deepEqual (
5757 to ( s ( 'circle' , { title : '' } ) , { space : 'svg' , collapseEmptyAttributes : true } ) ,
58- '<circle title="" ></circle>' ,
59- 'should *not* collapse empty string attributes in `collapseEmptyAttributes` mode'
58+ '<circle title></circle>' ,
59+ 'should collapse empty string attributes in `collapseEmptyAttributes` mode'
6060 )
6161
6262 t . deepEqual (
@@ -72,8 +72,8 @@ test('svg', function(t) {
7272 space : 'svg' ,
7373 tightAttributes : true
7474 } ) ,
75- '<text class="a b" title="c d">bravo</text>' ,
76- 'should *not* stringify multiple properties tightly in `tightAttributes` mode'
75+ '<text class="a b"title="c d">bravo</text>' ,
76+ 'should stringify multiple properties tightly in `tightAttributes` mode'
7777 )
7878
7979 t . deepEqual (
@@ -105,7 +105,7 @@ test('svg', function(t) {
105105
106106 t . deepEqual (
107107 to ( s ( 'a' , { download : true } , 'bravo' ) , { space : 'svg' } ) ,
108- '<a download="download" >bravo</a>' ,
108+ '<a download>bravo</a>' ,
109109 'should stringify known boolean attributes set to `true`'
110110 )
111111
@@ -117,7 +117,7 @@ test('svg', function(t) {
117117
118118 t . deepEqual (
119119 to ( s ( 'a' , { download : 1 } , 'bravo' ) , { space : 'svg' } ) ,
120- '<a download="download" >bravo</a>' ,
120+ '<a download>bravo</a>' ,
121121 'should stringify truthy known boolean attributes'
122122 )
123123
@@ -135,7 +135,7 @@ test('svg', function(t) {
135135
136136 t . deepEqual (
137137 to ( s ( 'a' , { unknown : true } , 'bravo' ) , { space : 'svg' } ) ,
138- '<a unknown="unknown" >bravo</a>' ,
138+ '<a unknown>bravo</a>' ,
139139 'should stringify unknown attributes set to `true`'
140140 )
141141
@@ -183,7 +183,7 @@ test('svg', function(t) {
183183
184184 t . deepEqual (
185185 to ( s ( 'i' , { id : true } , 'bravo' ) , { space : 'svg' } ) ,
186- '<i id="id" >bravo</i>' ,
186+ '<i id>bravo</i>' ,
187187 'should stringify other non-string attributes'
188188 )
189189
@@ -221,8 +221,8 @@ test('svg', function(t) {
221221
222222 t . deepEqual (
223223 to ( s ( 'circle' , { cx : 2 } ) , { space : 'svg' , preferUnquoted : true } ) ,
224- '<circle cx="2" ></circle>' ,
225- 'should *not* omit quotes in `preferUnquoted`'
224+ '<circle cx=2 ></circle>' ,
225+ 'should omit quotes in `preferUnquoted`'
226226 )
227227
228228 t . deepEqual (
0 commit comments