You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +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', () => {
|
describe('single', () => {
|
||||||
it('string', () => {
|
it('string', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
pushSortByArguments([], 'SORTBT', '@property'),
|
pushSortByArguments([], 'SORTBY', '@property'),
|
||||||
['SORTBT', '1', '@property']
|
['SORTBY', '1', '@property']
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('.BY', () => {
|
it('.BY', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
pushSortByArguments([], 'SORTBT', { BY: '@property' }),
|
pushSortByArguments([], 'SORTBY', { BY: '@property' }),
|
||||||
['SORTBT', '1', '@property']
|
['SORTBY', '1', '@property']
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user