@@ -567,17 +567,17 @@ describe('Test gl3d plots', function() {
567
567
y : [ - 1 , - 2 , - 3 , - 4 , - 5 , - 6 , - 7 , - 8 , - 9 , - 10 , - 11 , - 12 , - 13 , - 14 , - 15 , - 16 ] ,
568
568
z : [ 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ] ,
569
569
text : [ 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' ] ,
570
- textposition : [ " left top" , " right top" , " left bottom" , " right bottom" , null , undefined , , true , false , [ ] , { } , NaN , Infinity , 0 ]
570
+ textposition : [ ' left top' , ' right top' , ' left bottom' , ' right bottom' , null , undefined , true , false , [ ] , { } , NaN , Infinity , 0 , 1.2 ]
571
571
} ] )
572
572
. then ( function ( ) {
573
- var AllTextpositions = gd . _fullData [ 0 ] . textposition
573
+ var AllTextpositions = gd . _fullData [ 0 ] . textposition ;
574
574
575
- expect ( AllTextpositions [ 0 ] ) . toBe ( " top left" , 'is not top left' ) ;
576
- expect ( AllTextpositions [ 1 ] ) . toBe ( " top right" , 'is not top right' ) ;
577
- expect ( AllTextpositions [ 2 ] ) . toBe ( " bottom left" , 'is not bottom left' ) ;
578
- expect ( AllTextpositions [ 3 ] ) . toBe ( " bottom right" , 'is not bottom right' ) ;
575
+ expect ( AllTextpositions [ 0 ] ) . toBe ( ' top left' , 'is not top left' ) ;
576
+ expect ( AllTextpositions [ 1 ] ) . toBe ( ' top right' , 'is not top right' ) ;
577
+ expect ( AllTextpositions [ 2 ] ) . toBe ( ' bottom left' , 'is not bottom left' ) ;
578
+ expect ( AllTextpositions [ 3 ] ) . toBe ( ' bottom right' , 'is not bottom right' ) ;
579
579
for ( var i = 4 ; i < AllTextpositions . length ; i ++ ) {
580
- expect ( AllTextpositions [ i ] ) . toBe ( " middle center" , 'is not middle center' ) ;
580
+ expect ( AllTextpositions [ i ] ) . toBe ( ' middle center' , 'is not middle center' ) ;
581
581
}
582
582
} )
583
583
. catch ( failTest )
0 commit comments