diff options
-rw-r--r-- | tests/stdlib/tsplit2.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/tsplit2.nim b/tests/stdlib/tsplit2.nim index 5c4245d54..7fd9dda74 100644 --- a/tests/stdlib/tsplit2.nim +++ b/tests/stdlib/tsplit2.nim @@ -12,7 +12,7 @@ for w in split("|abc|xy|z", {'|'}): try: discard "hello".split("") echo "false" -except ValueError: +except AssertionError: echo "true" #OUT true |