You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fixed what I think are a couple of typos -> SORTBT
-> SORTBY
. (#1987)
* Fixed what I think are a couple of typos -> `SORTBT` -> `SORTBY`. Fixed what I think are a couple of typos -> `SORTBT` -> `SORTBY`. * Update index.spec.ts Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
This commit is contained in:
@@ -5,15 +5,15 @@ describe('pushSortByArguments', () => {
|
||||
describe('single', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
pushSortByArguments([], 'SORTBT', '@property'),
|
||||
['SORTBT', '1', '@property']
|
||||
pushSortByArguments([], 'SORTBY', '@property'),
|
||||
['SORTBY', '1', '@property']
|
||||
);
|
||||
});
|
||||
|
||||
it('.BY', () => {
|
||||
assert.deepEqual(
|
||||
pushSortByArguments([], 'SORTBT', { BY: '@property' }),
|
||||
['SORTBT', '1', '@property']
|
||||
pushSortByArguments([], 'SORTBY', { BY: '@property' }),
|
||||
['SORTBY', '1', '@property']
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user