Update unit test to handle AssertionError instead of ValueError for #5119

This commit is contained in:
Chris Heller 2016-12-21 19:06:11 -08:00
commit af63bd4e0b

View file

@ -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