aboutsummaryrefslogtreecommitdiff
path: root/src/lists.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/lists.nim')
-rw-r--r--src/lists.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lists.nim b/src/lists.nim
index cf1b0c5..b62aa3c 100644
--- a/src/lists.nim
+++ b/src/lists.nim
@@ -42,7 +42,7 @@ static:
template testList[T](list: List[T], testSeq: openArray[T]) =
block:
let s = toSeq(list.items)
- if s != @testSeq: raise newException(SystemError, "list: " & $s)
+ if s != @testSeq: raise newException(CatchableError, "list: " & $s)
let l1 = list[int]()
testList(l1, [])