From af63bd4e0b45bad7985de829d311a8c84a99006b Mon Sep 17 00:00:00 2001 From: Chris Heller Date: Wed, 21 Dec 2016 19:06:11 -0800 Subject: [PATCH] Update unit test to handle AssertionError instead of ValueError for #5119 --- tests/stdlib/tsplit2.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stdlib/tsplit2.nim b/tests/stdlib/tsplit2.nim index 5c4245d54d..7fd9dda747 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