@@ -774,7 +774,7 @@ describe("msrest", function () {
774
774
775
775
( function ( ) {
776
776
Serializer . serialize ( mapper , { length : undefined } , "testobj" ) ;
777
- } . should . throw ( "testobj.length cannot be undefined." ) ) ;
777
+ } ) . should . throw ( "testobj.length cannot be undefined." ) ;
778
778
} ) ;
779
779
780
780
it ( "should not allow null when required: true and nullable: false" , function ( ) {
@@ -799,7 +799,7 @@ describe("msrest", function () {
799
799
800
800
( function ( ) {
801
801
Serializer . serialize ( mapper , { length : undefined } , "testobj" ) ;
802
- } . should . throw ( "testobj.length cannot be null or undefined." ) ) ;
802
+ } ) . should . throw ( "testobj.length cannot be null or undefined." ) ;
803
803
} ) ;
804
804
805
805
it ( "should not allow undefined when required: true and nullable: false" , function ( ) {
@@ -824,7 +824,7 @@ describe("msrest", function () {
824
824
825
825
( function ( ) {
826
826
Serializer . serialize ( mapper , { length : undefined } , "testobj" ) ;
827
- } . should . throw ( "testobj.length cannot be null or undefined." ) ) ;
827
+ } ) . should . throw ( "testobj.length cannot be null or undefined." ) ;
828
828
} ) ;
829
829
830
830
it ( "should not allow null when required: true and nullable is undefined" , function ( ) {
@@ -837,7 +837,7 @@ describe("msrest", function () {
837
837
} ;
838
838
( function ( ) {
839
839
Serializer . serialize ( mapper , undefined , "testobj" ) ;
840
- } . should . throw ( "testobj cannot be null or undefined." ) ) ;
840
+ } ) . should . throw ( "testobj cannot be null or undefined." ) ;
841
841
} ) ;
842
842
843
843
it ( "should not allow undefined when required: true and nullable is undefined" , function ( ) {
@@ -850,7 +850,7 @@ describe("msrest", function () {
850
850
} ;
851
851
( function ( ) {
852
852
Serializer . serialize ( mapper , undefined , "testobj" ) ;
853
- } . should . throw ( "testobj cannot be null or undefined." ) ) ;
853
+ } ) . should . throw ( "testobj cannot be null or undefined." ) ;
854
854
} ) ;
855
855
856
856
it ( "should allow null when required: false and nullable: true" , function ( ) {
@@ -879,7 +879,7 @@ describe("msrest", function () {
879
879
// tslint:disable-next-line
880
880
( function ( ) {
881
881
Serializer . serialize ( mapper , null , "testobj" ) ;
882
- } . should . throw ( "testobj cannot be null." ) ) ;
882
+ } ) . should . throw ( "testobj cannot be null." ) ;
883
883
} ) ;
884
884
885
885
it ( "should allow null when required: false and nullable is undefined" , function ( ) {
0 commit comments