diff options
author | Nathan Rajlich <nathan@tootallnate.net> | 2012-10-15 14:51:43 -0700 |
---|---|---|
committer | Nathan Rajlich <nathan@tootallnate.net> | 2012-10-15 14:59:57 -0700 |
commit | cca15e8e33e94258d8b881786c27d461d5488982 (patch) | |
tree | 9290a373b897d2f07bc3172254a346701e1cf6a8 | |
parent | 1205734e69df2cecce88d67aa9e6b32a843d1633 (diff) | |
download | node-cca15e8e33e94258d8b881786c27d461d5488982.tar.gz |
test: disable global variable check for "test-repl-options.js"
Previously, the "global" mode of REPLs was broken when created after another
non-global REPL (they would end up sharing the same context). Now that "global"
mode is fixed for that case (b1e78cef097c682ed63528ad7efe294b18a9fb1d), this
test case gets its global scope modified with "module" and other REPL-specific
properties, so disable the global check.
-rw-r--r-- | test/simple/test-repl-options.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/simple/test-repl-options.js b/test/simple/test-repl-options.js index c3a83aeb0..d3fcd588e 100644 --- a/test/simple/test-repl-options.js +++ b/test/simple/test-repl-options.js @@ -24,6 +24,8 @@ var common = require('../common'), Stream = require('stream'), repl = require('repl'); +common.globalCheck = false; + // create a dummy stream that does nothing var stream = new Stream(); stream.write = stream.pause = stream.resume = function(){}; |