summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-11-17 22:05:04 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-11-17 22:05:04 +0100
commitce0aeb4a774511bfbd9ea06b056d3c9b63700934 (patch)
treef475ddcf73d74f083bb0fb89907c1bdd0b697400 /tests
parent2f6a20240df228e71503c2dc1e3a41e75d50f54b (diff)
downloadmew-ce0aeb4a774511bfbd9ea06b056d3c9b63700934.tar.gz
mew-ce0aeb4a774511bfbd9ea06b056d3c9b63700934.tar.xz
mew-ce0aeb4a774511bfbd9ea06b056d3c9b63700934.zip
add range without arguments
Diffstat (limited to 'tests')
-rw-r--r--tests/test.mew1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.mew b/tests/test.mew
index b895780..daeffc1 100644
--- a/tests/test.mew
+++ b/tests/test.mew
@@ -31,6 +31,7 @@
   (test '(1 3 5) (into '() (range 1 7 2)))
   (test '(3 2 1) (into '() (range 3 0 -1)))
   (test '(2 3 4) (into '() (gtake (range 2) 3)))
+  (test '(0 1 2) (into '() (gtake (range) 3)))
   (test '(1 3/2 2 5/2) (into '() (gtake (range 1 +inf.0 1/2) 4)))
   (test '(1 1 1 1) (into '() (gtake (range 1 +inf.0 0) 4))))