Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 60ea5a0

Browse files
author
Matt Loring
committed
Expand testing for invalid watch expressions
Additional cases: - undeclared variable names - dereferencing undefined Fixes #13
1 parent 42277e6 commit 60ea5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-v8debugapi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ describe('v8debugapi', function() {
340340
var bp = {
341341
id: breakpointInFoo.id,
342342
location: breakpointInFoo.location,
343-
expressions: [':)', 'process()', 'process=this']
343+
expressions: [':)', 'process()', 'process=this', 'i', 'process._not._def']
344344
};
345345
api.set(bp, function(err) {
346346
assert.ifError(err);

0 commit comments

Comments
 (0)