@@ -362,21 +362,21 @@ import {normalizeValidators} from '../src/validators';
362
362
expect ( Validators . maxLength ( 1 ) ( new FormControl ( value ) ) ) . toEqual ( {
363
363
'maxlength' : { 'requiredLength' : 1 , 'actualLength' : 5 } ,
364
364
} ) ;
365
+ } ) ;
365
366
366
- it ( 'should trigger validation for an object that contains numeric length property' , ( ) => {
367
- const value = { length : 5 , someValue : [ 1 , 2 , 3 , 4 , 5 ] } ;
368
- expect ( Validators . maxLength ( 10 ) ( new FormControl ( value ) ) ) . toBeNull ( ) ;
369
- expect ( Validators . maxLength ( 1 ) ( new FormControl ( value ) ) ) . toEqual ( {
370
- 'maxlength' : { 'requiredLength' : 1 , 'actualLength' : 5 } ,
371
- } ) ;
367
+ it ( 'should trigger validation for an object that contains numeric length property' , ( ) => {
368
+ const value = { length : 5 , someValue : [ 1 , 2 , 3 , 4 , 5 ] } ;
369
+ expect ( Validators . maxLength ( 10 ) ( new FormControl ( value ) ) ) . toBeNull ( ) ;
370
+ expect ( Validators . maxLength ( 1 ) ( new FormControl ( value ) ) ) . toEqual ( {
371
+ 'maxlength' : { 'requiredLength' : 1 , 'actualLength' : 5 } ,
372
372
} ) ;
373
+ } ) ;
373
374
374
- it ( 'should trigger validation for an object that contains numeric size property' , ( ) => {
375
- const value = new Set ( [ 1 , 2 , 3 , 4 , 5 ] ) ;
376
- expect ( Validators . maxLength ( 10 ) ( new FormControl ( value ) ) ) . toBeNull ( ) ;
377
- expect ( Validators . maxLength ( 1 ) ( new FormControl ( value ) ) ) . toEqual ( {
378
- 'maxlength' : { 'requiredLength' : 1 , 'actualLength' : 5 } ,
379
- } ) ;
375
+ it ( 'should trigger validation for an object that contains numeric size property' , ( ) => {
376
+ const value = new Set ( [ 1 , 2 , 3 , 4 , 5 ] ) ;
377
+ expect ( Validators . maxLength ( 10 ) ( new FormControl ( value ) ) ) . toBeNull ( ) ;
378
+ expect ( Validators . maxLength ( 1 ) ( new FormControl ( value ) ) ) . toEqual ( {
379
+ 'maxlength' : { 'requiredLength' : 1 , 'actualLength' : 5 } ,
380
380
} ) ;
381
381
} ) ;
382
382
0 commit comments