From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/es5-ext/test/reg-exp/#/match/shim.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'node_modules/es5-ext/test/reg-exp') diff --git a/node_modules/es5-ext/test/reg-exp/#/match/shim.js b/node_modules/es5-ext/test/reg-exp/#/match/shim.js index fce094f61..c6fedb57c 100644 --- a/node_modules/es5-ext/test/reg-exp/#/match/shim.js +++ b/node_modules/es5-ext/test/reg-exp/#/match/shim.js @@ -1,8 +1,6 @@ "use strict"; module.exports = function (t, a) { - var result = ["foo"]; - result.index = 0; - result.input = "foobar"; + var result = "foobar".match(/foo/); a.deep(t.call(/foo/, "foobar"), result); }; -- cgit v1.2.3