From a18a308120ac7d5bc974292a8eefb3dfc0649f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 30 Oct 2019 16:12:04 +0100 Subject: [PATCH] plan fix --- test/eval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/eval.js b/test/eval.js index 3a0c034..4055b35 100644 --- a/test/eval.js +++ b/test/eval.js @@ -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;