@@ -27,6 +27,7 @@ var validate = require( './../lib/validate.js' );
27
27
// TESTS //
28
28
29
29
tape ( 'main export is a function' , function test ( t ) {
30
+ t . ok ( true , __filename ) ;
30
31
t . equal ( typeof validate , 'function' , 'main export is a function' ) ;
31
32
t . end ( ) ;
32
33
} ) ;
@@ -55,7 +56,7 @@ tape( 'if provided an `options` argument which is not an object, the function re
55
56
t . end ( ) ;
56
57
} ) ;
57
58
58
- tape ( 'if provided a `className` option which is not an string primitive, the function returns a type error' , function test ( t ) {
59
+ tape ( 'if provided a `className` option which is not a string primitive, the function returns a type error' , function test ( t ) {
59
60
var values ;
60
61
var err ;
61
62
var i ;
@@ -81,7 +82,7 @@ tape( 'if provided a `className` option which is not an string primitive, the fu
81
82
t . end ( ) ;
82
83
} ) ;
83
84
84
- tape ( 'if provided an `align` option which is not an string primitive, the function returns a type error' , function test ( t ) {
85
+ tape ( 'if provided an `align` option which is not a string primitive, the function returns a type error' , function test ( t ) {
85
86
var values ;
86
87
var err ;
87
88
var i ;
@@ -107,7 +108,7 @@ tape( 'if provided an `align` option which is not an string primitive, the funct
107
108
t . end ( ) ;
108
109
} ) ;
109
110
110
- tape ( 'if provided a `raw` option which is not an string primitive, the function returns a type error' , function test ( t ) {
111
+ tape ( 'if provided a `raw` option which is not a string primitive, the function returns a type error' , function test ( t ) {
111
112
var values ;
112
113
var err ;
113
114
var i ;
@@ -133,7 +134,7 @@ tape( 'if provided a `raw` option which is not an string primitive, the function
133
134
t . end ( ) ;
134
135
} ) ;
135
136
136
- tape ( 'if provided a `label` option which is not an string primitive, the function returns a type error' , function test ( t ) {
137
+ tape ( 'if provided a `label` option which is not a string primitive, the function returns a type error' , function test ( t ) {
137
138
var values ;
138
139
var err ;
139
140
var i ;
@@ -189,7 +190,7 @@ tape( 'if provided a `src` option which is not a valid URI, the function returns
189
190
t . end ( ) ;
190
191
} ) ;
191
192
192
- tape ( 'if provided an `alt` option which is not an string primitive, the function returns a type error' , function test ( t ) {
193
+ tape ( 'if provided an `alt` option which is not a string primitive, the function returns a type error' , function test ( t ) {
193
194
var values ;
194
195
var err ;
195
196
var i ;
0 commit comments