@@ -35,7 +35,7 @@ tape( 'main export is a function', function test( t ) {
35
35
tape ( 'the function tests for an array of `string` values' , function test ( t ) {
36
36
var arr ;
37
37
38
- arr = [ 'a' , new String ( 'b' ) ] ;
38
+ arr = [ 'a' , new String ( 'b' ) ] ; // eslint-disable-line no-new-wrappers
39
39
t . equal ( isStringArray ( arr ) , true , 'returns true' ) ;
40
40
41
41
arr = [ 'a' , 5 , null ] ;
@@ -50,7 +50,7 @@ tape( 'the function provides a method to test for an array of `string` primitive
50
50
arr = [ 'a' , 'b' ] ;
51
51
t . equal ( isStringArray . primitives ( arr ) , true , 'returns true' ) ;
52
52
53
- arr = [ new String ( 'a' ) , 'b' ] ;
53
+ arr = [ new String ( 'a' ) , 'b' ] ; // eslint-disable-line no-new-wrappers
54
54
t . equal ( isStringArray . primitives ( arr ) , false , 'returns false' ) ;
55
55
56
56
t . end ( ) ;
@@ -59,7 +59,7 @@ tape( 'the function provides a method to test for an array of `string` primitive
59
59
tape ( 'the function provides a method to test for an array of `String` objects' , function test ( t ) {
60
60
var arr ;
61
61
62
- arr = [ new String ( 'a' ) , new String ( 'b' ) ] ;
62
+ arr = [ new String ( 'a' ) , new String ( 'b' ) ] ; // eslint-disable-line no-new-wrappers
63
63
t . equal ( isStringArray . objects ( arr ) , true , 'returns true' ) ;
64
64
65
65
arr = [ 'a' , 'b' ] ;
0 commit comments