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

Commit

Permalink
Expand testing for invalid watch expressions
Browse files Browse the repository at this point in the history
Additional cases:
 - undeclared variable names
 - dereferencing undefined

Fixes #13
  • Loading branch information
Matt Loring committed Jan 7, 2016
1 parent 42277e6 commit 60ea5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-v8debugapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ describe('v8debugapi', function() {
var bp = {
id: breakpointInFoo.id,
location: breakpointInFoo.location,
expressions: [':)', 'process()', 'process=this']
expressions: [':)', 'process()', 'process=this', 'i', 'process._not._def']
};
api.set(bp, function(err) {
assert.ifError(err);
Expand Down

0 comments on commit 60ea5a0

Please sign in to comment.