diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index 9d87e2a37..c95515487 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -303,13 +303,6 @@ result = <_.LoDashObjectWrapper<_.Dictionary>>_([['moe', 30], ['larry', 40] result = _.pull([1, 2, 3, 1, 2, 3], 2, 3); result = _.pullAt([1, 2, 3, 1, 2, 3], 2, 3); -result = _.range(10); -result = _.range(1, 11); -result = _.range(0, 30, 5); -result = _.range(0, -10, -1); -result = _.range(1, 4, 0); -result = _.range(0); - result = _.remove([1, 2, 3, 4, 5, 6], function (num: number) { return num % 2 == 0; }); result = _.remove(foodsOrganic, 'organic'); result = _.remove(foodsType, { 'type': 'vegetable' }); @@ -1501,6 +1494,14 @@ result = <(path: string|string[]) => any>_.propertyOf({}); result = <(path: string|string[]) => any>_.propertyOf(testPropertyOfObject); result = <(path: string|string[]) => any>_({}).propertyOf().value(); +// _.range +result = _.range(10); +result = _.range(1, 11); +result = _.range(0, 30, 5); +result = _(10).range().value(); +result = _(1).range(11).value(); +result = _(0).range(30, 5).value(); + result = <_.TemplateExecutor>_.template('hello <%= name %>'); result = _.template('<%- value %>', { 'value': '