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);
64
64
65
65
function checkPromisesInitState ( ) {
66
66
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') ;
69
69
}
70
70
}
71
71
72
72
function checkPromisesExecutionState ( ) {
73
73
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') ;
76
76
}
77
77
}
78
78
You can’t perform that action at this time.
0 commit comments