8000 Reword unit test and add entry to README.md. · lodash/lodash@43ea0c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43ea0c9

Browse files
committed
Reword unit test and add entry to README.md.
Former-commit-id: e5d68317bb8f2688c256de096c58e1b49014a68c
1 parent dde3eb2 commit 43ea0c9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ git submodule update --init
116116

117117
## Closed Underscore.js issues
118118

119+
* Ensure `_(...)` returns passed wrapper instances [[test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L95-98)]
119120
* Ensure `_.groupBy` adds values to own, not inherited, properties [[test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L229-236)]
120121
* Ensure `_.throttle` works when called in tight loops [[#502](https://github.com/documentcloud/underscore/issues/502), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L436-446)]
121122
* Fix Firefox, IE, Opera, and Safari object iteration bugs [[#376](https://github.com/documentcloud/underscore/issues/376), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L152-172), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L206-213), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L255-257), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L265-267), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L285-292), [test](https://github.com/bestiejs/lodash/blob/32627f45072952df18a64cf5e9f2433d2d32730f/test/test.js#L386-388)]
@@ -203,6 +204,7 @@ git submodule update --init
203204
* Added whitespace to compiled strings
204205
* Added `_.partial` method
205206
* Commented the `iterationFactory` options object
207+
* Ensured `_(...)` returns passed wrapper instances
206208
* Ensured `_.max` and `_.min` support extremely large arrays
207209
* Ensured `_.throttle` works in tight loops
208210
* Fixed IE < 9 `[DontEnum]` bug and Firefox < 3.6, Opera > 9.50 - Opera < 11.60, and Safari < 5.1’s prototype property iteration bug

test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
ok(_() instanceof _);
9393
});
9494

95-
test('should pass through LoDash instances', function() {
95+
test('should return passed LoDash instances', function() {
9696
var wrapped = _([]);
9797
equal(_(wrapped), wrapped);
9898
});

0 commit comments

Comments
 (0)
0