Update unit test to handle AssertionError instead of ValueError for #5119
This commit is contained in:
parent
80a727f1ce
commit
af63bd4e0b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue