File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,22 +59,22 @@ function tryRepeatedTimer() {
5959 if ( ++ n < N )
6060 setTimeout ( repeatedTimer , 1 ) ;
6161 else // n == N
62- process . once ( 'beforeExit' , common . mustCall ( tryNextTick1 ) ) ;
62+ process . once ( 'beforeExit' , common . mustCall ( tryNextTickSetImmediate ) ) ;
6363 } , N ) ;
6464 setTimeout ( repeatedTimer , 1 ) ;
6565}
6666
6767// Test if the callback of `process.nextTick` can be invoked.
68- function tryNextTick1 ( ) {
68+ function tryNextTickSetImmediate ( ) {
6969 process . nextTick ( common . mustCall ( function ( ) {
7070 setImmediate ( common . mustCall ( ( ) => {
71- process . once ( 'beforeExit' , common . mustCall ( tryNextTick2 ) ) ;
71+ process . once ( 'beforeExit' , common . mustCall ( tryNextTick ) ) ;
7272 } ) ) ;
7373 } ) ) ;
7474}
7575
7676// Test that `process.nextTick` won't keep the event loop running by itself.
77- function tryNextTick2 ( ) {
77+ function tryNextTick ( ) {
7878 process . nextTick ( common . mustCall ( function ( ) {
7979 process . once ( 'beforeExit' , common . mustNotCall ( ) ) ;
8080 } ) ) ;
You can’t perform that action at this time.
0 commit comments