mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 08:30:51 +00:00
Test: fix lshuffle by providing the "K" combinator.
This commit is contained in:
parent
967ad3643c
commit
3d7d20b7f3
@ -376,6 +376,8 @@ proc stop_write_load {handle} {
|
||||
catch {exec /bin/kill -9 $handle}
|
||||
}
|
||||
|
||||
proc K { x y } { set x }
|
||||
|
||||
# Shuffle a list. From Tcl wiki. Originally from Steve Cohen that improved
|
||||
# other versions. Code should be under public domain.
|
||||
proc lshuffle {list} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user