@@ -8,23 +8,23 @@ test('assert(linkReference)', function (t) {
88 function ( ) {
99 assert ( { type : 'linkReference' } ) ;
1010 } ,
11- / ^ A s s e r t i o n E r r o r : p a r e n t s h o u l d h a v e ` c h i l d r e n ` : ` { t y p e : ' l i n k R e f e r e n c e ' } ` $ / ,
11+ / p a r e n t s h o u l d h a v e ` c h i l d r e n ` : ` { t y p e : ' l i n k R e f e r e n c e ' } ` $ / ,
1212 'should throw if `linkReference` has no children'
1313 ) ;
1414
1515 t . throws (
1616 function ( ) {
1717 assert ( { type : 'linkReference' , children : [ ] } ) ;
1818 } ,
19- / ^ A s s e r t i o n E r r o r : ` i d e n t i f i e r ` m u s t b e ` s t r i n g ` : ` { t y p e : ' l i n k R e f e r e n c e ' , c h i l d r e n : \[ ] } ` $ / ,
19+ / ` i d e n t i f i e r ` m u s t b e ` s t r i n g ` : ` { t y p e : ' l i n k R e f e r e n c e ' , c h i l d r e n : \[ ] } ` $ / ,
2020 'should throw if `linkReference` has no `identifier`'
2121 ) ;
2222
2323 t . throws (
2424 function ( ) {
2525 assert ( { type : 'linkReference' , identifier : 1 , children : [ ] } ) ;
2626 } ,
27- / ^ A s s e r t i o n E r r o r : ` i d e n t i f i e r ` m u s t b e ` s t r i n g ` : ` { t y p e : ' l i n k R e f e r e n c e ' , i d e n t i f i e r : 1 , c h i l d r e n : \[ ] } ` $ / ,
27+ / ` i d e n t i f i e r ` m u s t b e ` s t r i n g ` : ` { t y p e : ' l i n k R e f e r e n c e ' , i d e n t i f i e r : 1 , c h i l d r e n : \[ ] } ` $ / ,
2828 'should throw if `identifier` is not a `string`'
2929 ) ;
3030
@@ -39,7 +39,7 @@ test('assert(linkReference)', function (t) {
3939 function ( ) {
4040 assert ( { type : 'linkReference' , identifier : '1' , referenceType : 1 , children : [ ] } ) ;
4141 } ,
42- / ^ A s s e r t i o n E r r o r : ` r e f e r e n c e T y p e ` m u s t b e ` s h o r t c u t ` , ` c o l l a p s e d ` , o r ` f u l l ` : ` { t y p e : ' l i n k R e f e r e n c e ' , \n { 2 } i d e n t i f i e r : ' 1 ' , \n { 2 } r e f e r e n c e T y p e : 1 , \n { 2 } c h i l d r e n : \[ ] } ` $ / ,
42+ / ` r e f e r e n c e T y p e ` m u s t b e ` s h o r t c u t ` , ` c o l l a p s e d ` , o r ` f u l l ` : ` { t y p e : ' l i n k R e f e r e n c e ' , \n { 2 } i d e n t i f i e r : ' 1 ' , \n { 2 } r e f e r e n c e T y p e : 1 , \n { 2 } c h i l d r e n : \[ ] } ` $ / ,
4343 'should throw if `referenceType` is not a `string`'
4444 ) ;
4545
0 commit comments