blob: 18528e9b277298dfa3060659b931bb9958751fc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Flags: --expose-internals
'use strict';
// This tests that the internal assert module works as expected.
// The failures are tested in test/message.
require('../common');
const internalAssert = require('internal/assert');
// Should not throw.
internalAssert(true);
internalAssert(true, 'fhqwhgads');
|