File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ describe('Test lib.js:', function() {
778
778
expect ( sizeOut ) . toBe ( outObj . testMarker . testSize ) ;
779
779
} ) ;
780
780
781
- it ( 'should set and return the default if the user input is not valid' , function ( ) {
781
+ it ( 'should set the default and return false if the user input is not valid' , function ( ) {
782
782
var colVal = 'r' ;
783
783
var sizeVal = 'aaaaah!' ;
784
784
var attrs = {
@@ -793,7 +793,7 @@ describe('Test lib.js:', function() {
793
793
var sizeOut = coerce2 ( obj , outObj , attrs , 'testMarker.testSize' ) ;
794
794
795
795
expect ( colOut ) . toBe ( 'rgba(0, 0, 0, 0)' ) ;
796
- expect ( sizeOut ) . toBe ( outObj . testMarker . testSize ) ;
796
+ expect ( colOut ) . toBe ( outObj . testMarker . testColor ) ;
797
797
expect ( sizeOut ) . toBe ( 20 ) ;
798
798
expect ( sizeOut ) . toBe ( outObj . testMarker . testSize ) ;
799
799
} ) ;
You can’t perform that action at this time.
0 commit comments