Currently, vim-vspec doesn't handle :it blocks with the same description properly. All but the last one will never be executed. Only the last one will be executed many times.
Though it's better to write a distinct description for each :it block, the current behavior is surprising for users, and it's annoying when writing one-time tests to check nontrivial behavior.
Currently, vim-vspec doesn't handle
:it
blocks with the same description properly. All but the last one will never be executed. Only the last one will be executed many times. Though it's better to write a distinct description for each:it
block, the current behavior is surprising for users, and it's annoying when writing one-time tests to check nontrivial behavior.