@@ -5,7 +5,7 @@ var x = require('xastscript')
55var u = require ( 'unist-builder' )
66var to = require ( '..' )
77
8- test ( '`element` attributes' , function ( t ) {
8+ test ( '`element` attributes' , function ( t ) {
99 t . deepEqual (
1010 to ( u ( 'element' , { name : 'y' } , [ ] ) ) ,
1111 '<y></y>' ,
@@ -68,7 +68,7 @@ test('`element` attributes', function(t) {
6868
6969 t . end ( )
7070
71- t . test ( 'quote' , function ( st ) {
71+ t . test ( 'quote' , function ( st ) {
7272 st . deepEqual (
7373 to ( x ( 'y' , { a : 'b' } ) ) ,
7474 '<y a="b"></y>' ,
@@ -100,7 +100,7 @@ test('`element` attributes', function(t) {
100100 )
101101
102102 st . throws (
103- function ( ) {
103+ function ( ) {
104104 to ( x ( 'y' ) , { quote : '`' } )
105105 } ,
106106 / I n v a l i d q u o t e ` ` ` , e x p e c t e d ` ' ` o r ` " ` / ,
@@ -110,7 +110,7 @@ test('`element` attributes', function(t) {
110110 st . end ( )
111111 } )
112112
113- t . test ( 'quoteSmart' , function ( st ) {
113+ t . test ( 'quoteSmart' , function ( st ) {
114114 st . deepEqual (
115115 to ( x ( 'y' , { a : 'b' } ) , { quoteSmart : true } ) ,
116116 '<y a="b"></y>' ,
@@ -156,7 +156,7 @@ test('`element` attributes', function(t) {
156156 st . end ( )
157157 } )
158158
159- t . test ( 'entities in attributes' , function ( st ) {
159+ t . test ( 'entities in attributes' , function ( st ) {
160160 st . deepEqual (
161161 to ( x ( 'y' , { '3<5' : 'a' } ) ) ,
162162 '<y 3<5="a"></y>' ,
0 commit comments