@@ -418,15 +418,15 @@ describe('createInjectableRegExp()', () => {
418418} ) ;
419419
420420describe ( 'parseBooleanOrNull' , ( ) => {
421- it . each ( [ true , 'true' , 'TRUE' , 'TrUe' , 1 , '1' ] ) ( 'Return true for %s value' , ( value ) => {
421+ it . each ( [ true , 'true' , 'TRUE' , 'TrUe' , ' true ' , 1 , '1' ] ) ( 'Return true for %s value' , ( value ) => {
422422 expect ( utils . parseBooleanOrNull ( value ) ) . toBe ( true ) ;
423423 } ) ;
424424
425- it . each ( [ false , 'false' , 'FALSE' , 'FaLsE' , 0 , '0' ] ) ( 'Return false for %s value' , ( value ) => {
425+ it . each ( [ false , 'false' , 'FALSE' , 'FaLsE' , ' false ' , 0 , '0' ] ) ( 'Return false for %s value' , ( value ) => {
426426 expect ( utils . parseBooleanOrNull ( value ) ) . toBe ( false ) ;
427427 } ) ;
428428
429- it . each ( [ undefined , null , 'null' , { } , [ ] , - 1 ] ) ( 'Return null for %s value' , ( value ) => {
429+ it . each ( [ undefined , null , 'null' , { } , [ ] , - 1 , 'tr ue' , 'fa lse' ] ) ( 'Return null for %s value' , ( value ) => {
430430 expect ( utils . parseBooleanOrNull ( value ) ) . toBe ( null ) ;
431431 } ) ;
432432} ) ;
0 commit comments