New unit testing skeleton
o9000 mrovi9000@gmail.com
2 files changed,
4 insertions(+),
3 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -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:
M
src/util/test.c
→
src/util/test.c
@@ -146,8 +146,8 @@ else
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); }