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 @@ -64,15 +64,15 @@ const timeout = common.platformTimeout(10);
6464
6565function checkPromisesInitState ( ) {
6666 for ( const initState of promisesInitState . values ( ) ) {
67- assert . strictEqual ( initState , ' resolved' ,
68- 'promise initialized without being resolved') ;
67+ // Promise should not be initialized without being resolved.
68+ assert . strictEqual ( initState , ' resolved') ;
6969 }
7070}
7171
7272function checkPromisesExecutionState ( ) {
7373 for ( const executionState of promisesExecutionState . values ( ) ) {
74- assert . strictEqual ( executionState , ' after' ,
75- 'mismatch between before and after hook calls ') ;
74+ // Check for mismatch between before and after hook calls.
75+ assert . strictEqual ( executionState , ' after') ;
7676 }
7777}
7878
You can’t perform that action at this time.
0 commit comments