Commit 733f5c5 1 parent cca932a commit 733f5c5 Copy full SHA for 733f5c5
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 53
53
Symbol . for ( "nodejs.util.inspect.custom" ) || util . inspect . custom
54
54
) ;
55
55
} ,
56
- "should not be null in a node environment when custom inspect symbol cannot be retrieved" : function ( ) {
56
+ "should not be null in a node environment when custom inspect symbol cannot be retrieved (< node v10.12.0) " : function ( ) {
57
57
assert . equal (
58
58
getCustomInspectSymbol ( {
59
59
lookupCustomInspectSymbol : ( ) => null
60
60
} ) ,
61
61
Symbol . for ( "nodejs.util.inspect.custom" ) || util . inspect . custom
62
62
) ;
63
63
} ,
64
- "should not be null in a non-node environment" : function ( ) {
64
+ "should be null in a non-node environment since 'util' features cannot be relied on " : function ( ) {
65
65
assert . equal (
66
66
getCustomInspectSymbol ( {
67
67
lookupCustomInspectSymbol : ( ) => null ,
You can’t perform that action at this time.
0 commit comments