Skip to content

Commit 09ec2ee

Browse files
committed
fix
1 parent c00625f commit 09ec2ee

File tree

1 file changed

+3
-2
lines changed
  • redisinsight/ui/src/pages/workbench/utils/tests/test-cases

1 file changed

+3
-2
lines changed

redisinsight/ui/src/pages/workbench/utils/tests/test-cases/common.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export const commonfindCurrentArgumentCases = [
248248
input: 'FT.SEARCH textVehicles "*" RETURN 2 test ',
249249
result: expect.any(Object),
250250
appendIncludes: ['AS'],
251-
appendNotIncludes: ['SORTBY', 'FILTER', 'LIMIT', 'DIALECT', 'AS', 'ASC'],
251+
appendNotIncludes: ['SORTBY', 'FILTER', 'LIMIT', 'DIALECT', 'ASC'],
252252
},
253253
{
254254
input: 'FT.CREATE textVehicles ON ',
@@ -287,7 +287,8 @@ export const commonfindCurrentArgumentCases = [
287287
{
288288
input: 'FT.AGGREGATE \'idx:articles\' \'@body:(term) \' SORTBY nargs property ASC ',
289289
result: expect.any(Object),
290-
appendIncludes: ['MAX', 'APPLY', 'LOAD', 'SORTBY', 'GROUPBY'],
290+
appendIncludes: ['MAX', 'APPLY', 'LOAD', 'GROUPBY'],
291+
appendNotIncludes: ['SORTBY'],
291292
},
292293
{
293294
input: 'FT.AGGREGATE \'idx:articles\' \'@body:(term) \' PARAMS 4 name1 value1 name2 value2 ',

0 commit comments

Comments
 (0)