New unit testing skeleton

This commit is contained in:
o9000 2017-12-19 15:32:23 +01:00
parent 58e030de5d
commit 8946f93254
2 changed files with 4 additions and 3 deletions

View file

@ -1,8 +1,9 @@
2017-11-10 master
2017-12-19 master
- Enhancements:
- Added Spanish translation (contributed by Vicmz)
- Executor: updated tooltip documentation (issue #676)
- Systray: warn on duplicate config option systray_name_filter (issue #652)
- Changed standard from C99 to C11 to support generic printing for unit tests
2017-11-05 15.3
- Fixes:

View file

@ -146,8 +146,8 @@ void run_all_tests()
fprintf(stdout, BLUE "tint2: " RED "%lu" BLUE " out of %lu tests " RED "failed." RESET "\n", failed, count);
}
TEST(dummy_bad) {
TEST(dummy) {
int x = 2;
int y = 3;
int y = 2;
ASSERT_EQUAL(x, y);
}