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
parent 80a727f1ce
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