GNOME Bugzilla – Bug 756666
use g_assert_true and g_assert_false in unit tests
Last modified: 2015-10-18 16:17:21 UTC
In plenty of places in Builder's unit tests, use use integer comparison for boolean checks. Such as: g_assert_cmpint(TRUE, ==, do_something()); We should instead use: g_assert_true (do_something ()); This is a good bug for someone wanting to get started contributing to Builder.
Created attachment 313614 [details] [review] Fixed boolean tests assertions
Thanks so much for doing this! Attachment 313614 [details] pushed as b6e921e - Fixed boolean tests assertions