mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
b9f1e57201
Instead of using the public AssertionError, use a simplified error that describes potential causes of these assertions and suggests the user to open an issue. PR-URL: https://github.com/nodejs/node/pull/26635 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
8 lines
139 B
JavaScript
8 lines
139 B
JavaScript
'use strict';
|
|
|
|
// Flags: --expose-internals
|
|
require('../common');
|
|
|
|
const assert = require('internal/assert');
|
|
assert.fail('Unreachable!');
|