diff options
Diffstat (limited to 'node_modules/es5-ext/test/reg-exp')
| -rw-r--r-- | node_modules/es5-ext/test/reg-exp/#/match/shim.js | 4 |
1 files changed, 1 insertions, 3 deletions
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); }; |
