Hi,

Ryan Biesemeyer wrote:

> In this case it was not immediately clear to me how to add cleanup to an 
> existing
> test that dirtied the state of the test repository by leaving behind an 
> in-progress
> merge. I see `test_cleanup` defined in the test lib & related functions, but 
> see no
> examples of its use in the test suites. Could you advise? 

test_when_finished pushes a command to be run unconditionally
when the current test assertion finishes.

Thanks,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to