@@ -120,7 +120,7 @@ assert.ifError(null);
120120assert . ifError ( ) ;
121121
122122common . expectsError (
123- ( ) => assert . doesNotThrow ( ( ) => thrower ( Error ) , 'user message' ) ,
123+ ( ) => a . doesNotThrow ( ( ) => thrower ( Error ) , 'user message' ) ,
124124 {
125125 type : a . AssertionError ,
126126 code : 'ERR_ASSERTION' ,
@@ -130,15 +130,15 @@ common.expectsError(
130130) ;
131131
132132common . expectsError (
133- ( ) => assert . doesNotThrow ( ( ) => thrower ( Error ) , 'user message' ) ,
133+ ( ) => a . doesNotThrow ( ( ) => thrower ( Error ) , 'user message' ) ,
134134 {
135135 code : 'ERR_ASSERTION' ,
136136 message : / G o t u n w a n t e d e x c e p t i o n : u s e r m e s s a g e \n \[ o b j e c t O b j e c t \] /
137137 }
138138) ;
139139
140140common . expectsError (
141- ( ) => assert . doesNotThrow ( ( ) => thrower ( Error ) ) ,
141+ ( ) => a . doesNotThrow ( ( ) => thrower ( Error ) ) ,
142142 {
143143 code : 'ERR_ASSERTION' ,
144144 message : / G o t u n w a n t e d e x c e p t i o n \. \n \[ o b j e c t O b j e c t \] /
@@ -307,7 +307,7 @@ try {
307307
308308 // Verify AssertionError is the result from doesNotThrow with custom Error.
309309 try {
310- assert . doesNotThrow ( ( ) => {
310+ a . doesNotThrow ( ( ) => {
311311 throw new TypeError ( 'wrong type' ) ;
312312 } , TypeError , rangeError ) ;
313313 } catch ( e ) {
@@ -645,7 +645,7 @@ common.expectsError(
645645 ) ;
646646
647647 common . expectsError (
648- ( ) => assert . doesNotThrow ( ( ) => { throw new Error ( ) ; } , { foo : 'bar' } ) ,
648+ ( ) => a . doesNotThrow ( ( ) => { throw new Error ( ) ; } , { foo : 'bar' } ) ,
649649 {
650650 type : TypeError ,
651651 code : 'ERR_INVALID_ARG_TYPE' ,
@@ -676,7 +676,7 @@ common.expectsError(
676676 assert . throws ( ( ) => { throw undefined ; } , / u n d e f i n e d / ) ;
677677 common . expectsError (
678678 // eslint-disable-next-line no-throw-literal
679- ( ) => assert . doesNotThrow ( ( ) => { throw undefined ; } ) ,
679+ ( ) => a . doesNotThrow ( ( ) => { throw undefined ; } ) ,
680680 {
681681 type : assert . AssertionError ,
682682 code : 'ERR_ASSERTION' ,
0 commit comments