mirror of
https://github.com/Azure/setup-helm.git
synced 2025-12-22 23:35:45 +00:00
committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
6
node_modules/object-inspect/test/err.js
generated
vendored
6
node_modules/object-inspect/test/err.js
generated
vendored
@@ -40,9 +40,9 @@ test('type error', function (t) {
|
||||
'{ [TypeError] foo: 555, bar: [ 1, 2, 3 ] }',
|
||||
'{ [TypeError: tuv] baz: 555 }',
|
||||
'{ [SyntaxError: whoa] message: \'whoa\', \'a-b\': 5 }',
|
||||
'{ [Error: foo] [cause]: \'bar\' }',
|
||||
'{ [Error: foo] [cause]: \'bar\', foo: \'bar\' }',
|
||||
'{ [Error: foo] [cause]: undefined }',
|
||||
'cause' in Error.prototype ? '[Error: foo]' : '{ [Error: foo] [cause]: \'bar\' }',
|
||||
'{ [Error: foo] ' + ('cause' in Error.prototype ? '' : '[cause]: \'bar\', ') + 'foo: \'bar\' }',
|
||||
'cause' in Error.prototype ? '[Error: foo]' : '{ [Error: foo] [cause]: undefined }',
|
||||
'{ [Error: foo] cause: \'bar\' }'
|
||||
].join(', ') + ' ]');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user