summaryrefslogtreecommitdiffstats
path: root/tests/lrange.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lrange.test')
-rw-r--r--tests/lrange.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lrange.test b/tests/lrange.test
index 6c81872..ec5936d 100644
--- a/tests/lrange.test
+++ b/tests/lrange.test
@@ -64,6 +64,7 @@ test lrange-1.15 {range of list elements} {
test lrange-1.16 {list element quoting} {
lrange {[append a .b]} 0 end
} {{[append} a .b\]}
+
test lrange-2.1 {error conditions} {
list [catch {lrange a b} msg] $msg
} {1 {wrong # args: should be "lrange list first last"}}