@@ -4,10 +4,10 @@ var test = require('tape')
44var s = require ( './svg' )
55var h = require ( './html' )
66
7- test ( 'hastscript' , function ( t ) {
7+ test ( 'hastscript' , function ( t ) {
88 t . equal ( typeof h , 'function' , 'should expose a function' )
99
10- t . test ( 'selector' , function ( st ) {
10+ t . test ( 'selector' , function ( st ) {
1111 st . deepEqual (
1212 h ( ) ,
1313 {
@@ -110,8 +110,8 @@ test('hastscript', function(t) {
110110 st . end ( )
111111 } )
112112
113- t . test ( 'properties' , function ( st ) {
114- st . test ( 'known property names' , function ( sst ) {
113+ t . test ( 'properties' , function ( st ) {
114+ st . test ( 'known property names' , function ( sst ) {
115115 sst . deepEqual (
116116 h ( null , { className : 'foo' } ) ,
117117 {
@@ -159,7 +159,7 @@ test('hastscript', function(t) {
159159 sst . end ( )
160160 } )
161161
162- st . test ( 'unknown property names' , function ( sst ) {
162+ st . test ( 'unknown property names' , function ( sst ) {
163163 sst . deepEqual (
164164 h ( null , { allowbigscreen : true } ) ,
165165 {
@@ -196,7 +196,7 @@ test('hastscript', function(t) {
196196 sst . end ( )
197197 } )
198198
199- st . test ( 'other namespaces' , function ( sst ) {
199+ st . test ( 'other namespaces' , function ( sst ) {
200200 sst . deepEqual (
201201 h ( null , { 'aria-valuenow' : 1 } ) ,
202202 {
@@ -310,7 +310,7 @@ test('hastscript', function(t) {
310310 sst . end ( )
311311 } )
312312
313- st . test ( 'data property names' , function ( sst ) {
313+ st . test ( 'data property names' , function ( sst ) {
314314 sst . deepEqual (
315315 h ( null , { 'data-foo' : true } ) ,
316316 {
@@ -402,7 +402,7 @@ test('hastscript', function(t) {
402402 sst . end ( )
403403 } )
404404
405- st . test ( 'unknown property values' , function ( sst ) {
405+ st . test ( 'unknown property values' , function ( sst ) {
406406 sst . deepEqual (
407407 h ( null , { foo : 'bar' } ) ,
408408 {
@@ -483,7 +483,7 @@ test('hastscript', function(t) {
483483 sst . end ( )
484484 } )
485485
486- st . test ( 'known booleans' , function ( sst ) {
486+ st . test ( 'known booleans' , function ( sst ) {
487487 sst . deepEqual (
488488 h ( null , { allowFullScreen : '' } ) ,
489489 {
@@ -520,7 +520,7 @@ test('hastscript', function(t) {
520520 sst . end ( )
521521 } )
522522
523- st . test ( 'known overloaded booleans' , function ( sst ) {
523+ st . test ( 'known overloaded booleans' , function ( sst ) {
524524 sst . deepEqual (
525525 h ( null , { download : '' } ) ,
526526 {
@@ -557,7 +557,7 @@ test('hastscript', function(t) {
557557 sst . end ( )
558558 } )
559559
560- st . test ( 'known numbers' , function ( sst ) {
560+ st . test ( 'known numbers' , function ( sst ) {
561561 sst . deepEqual (
562562 h ( 'textarea' , { cols : '3' } ) ,
563563 {
@@ -594,7 +594,7 @@ test('hastscript', function(t) {
594594 sst . end ( )
595595 } )
596596
597- st . test ( 'known lists' , function ( sst ) {
597+ st . test ( 'known lists' , function ( sst ) {
598598 sst . deepEqual (
599599 h ( null , { class : 'foo bar baz' } ) ,
600600 {
@@ -631,7 +631,7 @@ test('hastscript', function(t) {
631631 sst . end ( )
632632 } )
633633
634- st . test ( 'style' , function ( sst ) {
634+ st . test ( 'style' , function ( sst ) {
635635 sst . deepEqual (
636636 h ( null , { style : { color : 'red' , '-webkit-border-radius' : '3px' } } ) ,
637637 {
@@ -664,7 +664,7 @@ test('hastscript', function(t) {
664664 st . end ( )
665665 } )
666666
667- t . test ( 'children' , function ( st ) {
667+ t . test ( 'children' , function ( st ) {
668668 st . deepEqual (
669669 h ( 'div' , { } , [ ] ) ,
670670 {
@@ -940,7 +940,7 @@ test('hastscript', function(t) {
940940 )
941941
942942 st . throws (
943- function ( ) {
943+ function ( ) {
944944 h ( 'foo' , { } , true )
945945 } ,
946946 / E x p e c t e d n o d e , n o d e s , o r s t r i n g , g o t ` t r u e ` / ,
@@ -950,7 +950,7 @@ test('hastscript', function(t) {
950950 st . end ( )
951951 } )
952952
953- t . test ( '<template>' , function ( st ) {
953+ t . test ( '<template>' , function ( st ) {
954954 st . deepEqual (
955955 h ( 'template' ) ,
956956 {
@@ -1008,7 +1008,7 @@ test('hastscript', function(t) {
10081008 st . end ( )
10091009 } )
10101010
1011- t . test ( 'svg' , function ( st ) {
1011+ t . test ( 'svg' , function ( st ) {
10121012 st . deepEqual (
10131013 s ( ) ,
10141014 {
@@ -1130,7 +1130,7 @@ test('hastscript', function(t) {
11301130 st . end ( )
11311131 } )
11321132
1133- t . test ( 'tag names' , function ( st ) {
1133+ t . test ( 'tag names' , function ( st ) {
11341134 st . deepEqual (
11351135 h ( null , [ h ( 'DIV' ) , h ( 'dIv' ) , h ( 'div' ) ] ) ,
11361136 {
0 commit comments