@@ -8078,14 +8078,14 @@ describe('document', function() {
8078
8078
await person . save ( ) ;
8079
8079
} ) ;
8080
8080
8081
- it ( 'set() merge option with double nested' , async function ( ) {
8081
+ it ( 'set() merge option with double nested' , async function ( ) {
8082
8082
const PersonSchema = new Schema ( {
8083
8083
info : {
8084
8084
address : {
8085
8085
city : String ,
8086
- country : { type : String , default : "UK" } ,
8086
+ country : { type : String , default : 'UK' } ,
8087
8087
postcode : String
8088
- } ,
8088
+ }
8089
8089
}
8090
8090
} ) ;
8091
8091
@@ -8095,19 +8095,19 @@ describe('document', function() {
8095
8095
const person = new Person ( {
8096
8096
info : {
8097
8097
address : {
8098
- country : " United States" ,
8099
- city : " New York"
8100
- } ,
8098
+ country : ' United States' ,
8099
+ city : ' New York'
8100
+ }
8101
8101
}
8102
8102
} ) ;
8103
8103
8104
- const update = { info : { address : { postcode : " 12H" } } } ;
8104
+ const update = { info : { address : { postcode : ' 12H' } } } ;
8105
8105
8106
8106
person . set ( update , undefined , { merge : true } ) ;
8107
-
8108
- assert . equal ( person . info . address . city , " New York" ) ;
8109
- assert . equal ( person . info . address . postcode , " 12H" ) ;
8110
- assert . equal ( person . info . address . country , " United States" ) ;
8107
+
8108
+ assert . equal ( person . info . address . city , ' New York' ) ;
8109
+ assert . equal ( person . info . address . postcode , ' 12H' ) ;
8110
+ assert . equal ( person . info . address . country , ' United States' ) ;
8111
8111
} ) ;
8112
8112
8113
8113
it ( 'setting single nested subdoc with timestamps (gh-8251)' , async function ( ) {
0 commit comments