Skip to content

Commit

Permalink
Add test for array-type redis parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gdaszuta authored and Grzegorz Daszuta committed Oct 23, 2024
1 parent aa073dc commit 11c4078
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ public function serializeCases(): iterable

// Serialize all params
yield ['DEL', ['param1', 'param2', 'param3', 'param4'], 'DEL param1 param2 param3 param4'];

// Parameters of array type
yield ['EVAL', ['param1', 'param2', ['arg1', 'arg2']], 'EVAL param1 param2 ["arg1","arg2"]'];
}
}

0 comments on commit 11c4078

Please sign in to comment.