Skip to content

Commit

Permalink
Fix typos detected by codespell (#3188)
Browse files Browse the repository at this point in the history
* equals: fix spelling

* test: fix spelling

* test: collectBy: fix spelling
  • Loading branch information
tmatth committed Sep 30, 2021
1 parent d0e72a8 commit a1a90dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/internal/_equals.js
Expand Up @@ -12,7 +12,7 @@ import type from '../type.js';
* - iterators lengths are the same
* - iterators values are unique
*
* false-positive result will be returned for comparision of, e.g.
* false-positive result will be returned for comparison of, e.g.
* - [1,2,3] and [1,2,3,4]
* - [1,1,1] and [1,2,3]
* */
Expand Down
2 changes: 1 addition & 1 deletion test/collectBy.js
Expand Up @@ -12,7 +12,7 @@ describe('collectBy', function() {
}));
});

it('groups items but neiter adds new ones nor removes any', function() {
it('groups items but neither adds new ones nor removes any', function() {
fc.assert(fc.property(fc.array(fc.nat()), function(xs) {
var check = compose(isEmpty, difference(xs), unnest);
var ys = collectBy(identity)(xs);
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -24,7 +24,7 @@ function sourceMethods(dir) {
*
* 1st case is detected in first assertion, and detailed in second one
*
* 2st case doesnt need detection, because NodeJS will throw an error
* 2nd case does not need detection, because NodeJS will throw an error
* if you would attempt to require non existing file
*/
describe('API surface', function() {
Expand Down

0 comments on commit a1a90dd

Please sign in to comment.