branch: externals/dash
commit 5f7f2d6c5f723704a6485bbc3ca6f9baf219b868
Author: Mark Oteiza <mvote...@udel.edu>
Commit: Mark Oteiza <mvote...@udel.edu>

    Add example for an iota error condition
---
 dev/examples.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/examples.el b/dev/examples.el
index 3e0ca88..a50cb91 100644
--- a/dev/examples.el
+++ b/dev/examples.el
@@ -616,7 +616,8 @@ new list."
 
   (defexamples -iota
     (-iota 6) => '(0 1 2 3 4 5)
-    (-iota 4 2.5 -2) => '(2.5 0.5 -1.5 -3.5))
+    (-iota 4 2.5 -2) => '(2.5 0.5 -1.5 -3.5)
+    (-iota -1) !!> wrong-type-argument)
 
   (defexamples -zip-with
     (-zip-with '+ '(1 2 3) '(4 5 6)) => '(5 7 9)

Reply via email to