Skip to content

Commit

Permalink
plan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Oct 30, 2019
1 parent 6b7b960 commit a18a308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/eval.js
Expand Up @@ -109,7 +109,7 @@ test('disallow accessing constructor or __proto__', function (t) {


test('constructor at runtime only', function(t) {
t.plan(1)
t.plan(2)

var src = '(function myTag(y){return ""[!y?"__proto__":"constructor"][y]})("constructor")("console.log(process.env)")()'
var ast = parse(src).body[0].expression;
Expand Down

0 comments on commit a18a308

Please sign in to comment.