mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
300 B
13 lines
300 B
12 years ago
|
var common = require('../common'),
|
||
|
assert = require('assert'),
|
||
|
repl = require('repl');
|
||
|
|
||
|
// https://github.com/joyent/node/issues/3226
|
||
|
|
||
|
require.cache.something = 1;
|
||
|
assert.equal(require.cache.something, 1);
|
||
|
|
||
11 years ago
|
repl.start({ useGlobal: false }).close();
|
||
12 years ago
|
|
||
|
assert.equal(require.cache.something, 1);
|