summaryrefslogtreecommitdiff
path: root/test/parallel/test-internal-modules.js
blob: ea300d5c5fb85c76ea317e74116a173306bfcc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';
var common = require('../common');
var path = require('path');
var assert = require('assert');

assert.throws(function() {
  require('internal/freelist');
});

assert.strictEqual(
  require(path.join(common.fixturesDir, 'internal-modules')),
  42
);