summaryrefslogtreecommitdiff
path: root/test/debugger
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2014-04-27 12:42:43 +0400
committerFedor Indutny <fedor@indutny.com>2014-05-02 22:12:54 +0400
commit8398bf9128956b9c59bb7b0a6846f554707257b0 (patch)
treefd0ca718ca8113a3a5c7ff7108d4c0f70ea1a811 /test/debugger
parent9479399d3b42f5e35715ebbc73b2c120db430bd9 (diff)
downloadnodejs-8398bf9128956b9c59bb7b0a6846f554707257b0.tar.gz
nodejs-8398bf9128956b9c59bb7b0a6846f554707257b0.tar.bz2
nodejs-8398bf9128956b9c59bb7b0a6846f554707257b0.zip
debugger: assign Environment to DebugContext too
fix #7517
Diffstat (limited to 'test/debugger')
-rw-r--r--test/debugger/test-debugger-repl.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/debugger/test-debugger-repl.js b/test/debugger/test-debugger-repl.js
index 40639e021..92c3c9a8a 100644
--- a/test/debugger/test-debugger-repl.js
+++ b/test/debugger/test-debugger-repl.js
@@ -74,4 +74,13 @@ addTest('c', [
/\d/, /\d/, /\d/, /\d/, /\d/
]);
-addTest('quit', []);
+// REPL and process.env regression
+addTest('repl', [
+ /Ctrl/
+]);
+
+addTest('for (var i in process.env) delete process.env[i]', []);
+
+addTest('process.env', [
+ /\{\}/
+]);