@@ -39,7 +39,7 @@ tape( 'main export is a function', function test( t ) {
3939
4040tape ( 'the function is a constructor' , function test ( t ) {
4141 var arr = new BooleanArray ( 0 ) ;
42- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
42+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
4343 t . end ( ) ;
4444} ) ;
4545
@@ -50,14 +50,14 @@ tape( 'the constructor does not require the `new` keyword', function test( t ) {
5050 ctor = BooleanArray ;
5151
5252 arr = ctor ( 0 ) ;
53- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
53+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
5454
5555 t . end ( ) ;
5656} ) ;
5757
5858tape ( 'the constructor returns a boolean array (no argument)' , function test ( t ) {
5959 var arr = new BooleanArray ( ) ;
60- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
60+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
6161 t . end ( ) ;
6262} ) ;
6363
@@ -68,14 +68,14 @@ tape( 'the constructor returns a boolean array (no argument, no new)', function
6868 ctor = BooleanArray ;
6969
7070 arr = ctor ( ) ;
71- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
71+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
7272
7373 t . end ( ) ;
7474} ) ;
7575
7676tape ( 'the constructor returns a boolean array (length)' , function test ( t ) {
7777 var arr = new BooleanArray ( 10 ) ;
78- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
78+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
7979 t . end ( ) ;
8080} ) ;
8181
@@ -86,14 +86,14 @@ tape( 'the constructor returns a boolean array (length, no new)', function test(
8686 ctor = BooleanArray ;
8787
8888 arr = ctor ( 10 ) ;
89- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
89+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
9090
9191 t . end ( ) ;
9292} ) ;
9393
9494tape ( 'the constructor returns a boolean array (array)' , function test ( t ) {
9595 var arr = new BooleanArray ( [ ] ) ;
96- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
96+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
9797 t . end ( ) ;
9898} ) ;
9999
@@ -104,14 +104,14 @@ tape( 'the constructor returns a boolean array (array, no new)', function test(
104104 ctor = BooleanArray ;
105105
106106 arr = ctor ( [ ] ) ;
107- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
107+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
108108
109109 t . end ( ) ;
110110} ) ;
111111
112112tape ( 'the constructor returns a boolean array (typed array)' , function test ( t ) {
113113 var arr = new BooleanArray ( new Uint8Array ( 0 ) ) ;
114- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
114+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
115115 t . end ( ) ;
116116} ) ;
117117
@@ -122,7 +122,7 @@ tape( 'the constructor returns a boolean array (typed array, no new)', function
122122 ctor = BooleanArray ;
123123
124124 arr = ctor ( new Uint8Array ( 0 ) ) ;
125- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
125+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
126126
127127 t . end ( ) ;
128128} ) ;
@@ -137,7 +137,7 @@ tape( 'the constructor returns a boolean array (iterable)', function test( t ) {
137137 } ) ;
138138
139139 arr = new BooleanArray ( createIterable ( ) ) ;
140- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
140+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
141141
142142 t . end ( ) ;
143143
@@ -174,7 +174,7 @@ tape( 'the constructor returns a boolean array (iterable, no new)', function tes
174174 } ) ;
175175
176176 arr = ctor ( createIterable ( ) ) ;
177- t . strictEqual ( arr instanceof ctor , true , 'returns an instance ' ) ;
177+ t . strictEqual ( arr instanceof ctor , true , 'returns expected value ' ) ;
178178
179179 t . end ( ) ;
180180
@@ -203,7 +203,7 @@ tape( 'the constructor returns a boolean array (iterable, no new)', function tes
203203
204204tape ( 'the constructor returns a boolean array (ArrayBuffer)' , function test ( t ) {
205205 var arr = new BooleanArray ( new ArrayBuffer ( 0 ) ) ;
206- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
206+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
207207 t . end ( ) ;
208208} ) ;
209209
@@ -214,14 +214,14 @@ tape( 'the constructor returns a boolean array (ArrayBuffer, no new)', function
214214 ctor = BooleanArray ;
215215
216216 arr = ctor ( new ArrayBuffer ( 0 ) ) ;
217- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
217+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
218218
219219 t . end ( ) ;
220220} ) ;
221221
222222tape ( 'the constructor returns a boolean array (ArrayBuffer, byte offset)' , function test ( t ) {
223223 var arr = new BooleanArray ( new ArrayBuffer ( 8 ) , 8 ) ;
224- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
224+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
225225 t . end ( ) ;
226226} ) ;
227227
@@ -232,14 +232,14 @@ tape( 'the constructor returns a boolean array (ArrayBuffer, byte offset, no new
232232 ctor = BooleanArray ;
233233
234234 arr = ctor ( new ArrayBuffer ( 8 ) , 8 ) ;
235- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
235+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
236236
237237 t . end ( ) ;
238238} ) ;
239239
240240tape ( 'the constructor returns a boolean array (ArrayBuffer, byte offset, length)' , function test ( t ) {
241241 var arr = new BooleanArray ( new ArrayBuffer ( 8 ) , 8 , 0 ) ;
242- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
242+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
243243 t . end ( ) ;
244244} ) ;
245245
@@ -250,7 +250,7 @@ tape( 'the constructor returns a boolean array (ArrayBuffer, byte offset, length
250250 ctor = BooleanArray ;
251251
252252 arr = ctor ( new ArrayBuffer ( 8 ) , 8 , 0 ) ;
253- t . strictEqual ( arr instanceof BooleanArray , true , 'returns an instance ' ) ;
253+ t . strictEqual ( arr instanceof BooleanArray , true , 'returns expected value ' ) ;
254254
255255 t . end ( ) ;
256256} ) ;
0 commit comments