]> code.delx.au - gnu-emacs/commit
Make use of the `ert-with-function-mocked' macro
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 23 Feb 2016 03:46:56 +0000 (14:46 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 23 Feb 2016 03:46:56 +0000 (14:46 +1100)
commitd57ca9f8519ac1b0054857ad57653b2bdb1196ea
tree6c7f615d3027c533f9193cae12d3d58df91f4072
parenta77c6799c1f3ae30c8bbf26aa376f52c33cd554f
Make use of the `ert-with-function-mocked' macro

* test/lisp/calendar/icalendar-tests.el (icalendar--create-uid):
* test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-bug9781): Use
`ert-with-function-mocked' instead of implementing the fragile
`unwind-protect' logic openly.
test/lisp/calendar/icalendar-tests.el
test/lisp/vc/vc-bzr-tests.el