9 lines
163 B
JavaScript
9 lines
163 B
JavaScript
|
"use strict";
|
||
|
|
||
|
module.exports = function (t, a) {
|
||
|
var result = ["foo"];
|
||
|
result.index = 0;
|
||
|
result.input = "foobar";
|
||
|
a.deep(t.call(/foo/, "foobar"), result);
|
||
|
};
|