Skip to content

Commit

Permalink
Add more test to -shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
cireu committed Mar 15, 2019
1 parent 1f58d3a commit 923d714
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/examples.el
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,8 @@ new list."
(-shuffle '(1 2 3 4 5 6 7))) => '(1 5 2 4 3 7 6)
(let ((l '(1 2 3 4 5 6 7)))
(random "dash3")
(list (-shuffle '(1 2 3 4 5 6 7)) l)) => '((3 4 1 5 7 6 2) (1 2 3 4 5 6 7)))
(list (-shuffle '(1 2 3 4 5 6 7)) l)) => '((3 4 1 5 7 6 2) (1 2 3 4 5 6 7))
(-shuffle nil) => nil)

(defexamples -list
(-list 1) => '(1)
Expand Down

0 comments on commit 923d714

Please sign in to comment.