2012-12-30 00:49:18 +00:00
|
|
|
Exiting with code=1
|
2020-10-04 08:26:20 +00:00
|
|
|
node:assert:*
|
2018-01-22 23:11:22 +00:00
|
|
|
throw new AssertionError(obj);
|
2015-06-19 11:23:56 +00:00
|
|
|
^
|
2017-04-25 20:18:25 +00:00
|
|
|
|
2018-09-25 09:17:30 +00:00
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
2018-07-03 00:06:57 +00:00
|
|
|
|
|
|
|
1 !== 2
|
2018-03-12 21:14:24 +00:00
|
|
|
|
2023-04-27 06:41:58 +00:00
|
|
|
at Object.<anonymous> (*error_exit.js:*:*) {
|
2019-04-15 18:10:17 +00:00
|
|
|
generatedMessage: true,
|
|
|
|
code: 'ERR_ASSERTION',
|
|
|
|
actual: 1,
|
|
|
|
expected: 2,
|
|
|
|
operator: 'strictEqual'
|
|
|
|
}
|
2021-09-01 23:59:45 +00:00
|
|
|
|
|
|
|
Node.js *
|