diff options
author | Chris Heller <chris.heller@greyheller.com> | 2016-12-21 19:06:11 -0800 |
---|---|---|
committer | Chris Heller <chris.heller@greyheller.com> | 2016-12-21 19:06:11 -0800 |
commit | af63bd4e0b45bad7985de829d311a8c84a99006b (patch) | |
tree | d77b9ebe8b4040aef29dbab5cb684c9c0c1e1522 /tests | |
parent | 80a727f1ce74ebb3b4cf0c5a6f75d894638512c8 (diff) | |
download | Nim-af63bd4e0b45bad7985de829d311a8c84a99006b.tar.gz |
Update unit test to handle AssertionError instead of ValueError for #5119
Diffstat (limited to 'tests')
-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 |