[riot-notifications] [RIOT-OS/RIOT] tests/unittests: rename set_up/tear_down function (#11863)
notifications at github.com
Fri Jul 19 11:13:20 CEST 2019
> Based on the comments, would it be better if the set_up and tear_down in EMB_UNIT_TESTCALLER are changed instead?
> So the changes would be:
> Test *tests_<module>_<header>_tests(void)
> set_up, tear_down, fixtures);
> /* set up and tear down function can be NULL if omitted */
> return (Test *)&<module>_<header>;
Yeah, that would be the better way around. I usually just copy-paste existing tests and completely forgot about the template :sweat_smile:
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications