Fix removing all assert errors, properly this time
This commit is contained in:
parent
231720b5b5
commit
6d020a50de
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ func s:WaitForCommon(expr, assert, timeout)
|
|||
" Remove the errors added by the assert function.
|
||||
let errors_added = len( v:errors ) - errors_before
|
||||
if errors_added > 0
|
||||
call remove(v:errors, -1 * errors_added )
|
||||
call remove( v:errors, -1 * errors_added, -1 )
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue