Ensure limit(0; ...) is empty

This commit is contained in:
Muh Muhten committed 2019-02-21 04:11:41 -05:00
1 parent 730c730940
commit 130152a2ac
2 files changed
+11 -3

No files matched your search

+8
View File
@@ -304,6 +304,14 @@ null
[11,22,33,44,55,66,77,88,99]
[11,22,33]
[limit(0; error)]
"badness"
[]
[limit(1; 1, error)]
"badness"
[1]
[first(range(.)), last(range(.)), nth(0; range(.)), nth(5; range(.)), try nth(-1; range(.)) catch .]
10
[0,9,0,5,"nth doesn't support negative indices"]