summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2021-08-26 05:50:48 +0000
committerPhilip Chimento <philip.chimento@gmail.com>2021-08-26 05:50:48 +0000
commit7313e015247fd1746f3e9c1fc2420b48d5029643 (patch)
tree095b47440bc6028037308439ed6047b2086ed762
parentcd7a5d0efe60292a69f97557c2343ea8925e31b9 (diff)
parent45ac5f2f5e4ff8f61ddbff41690a560845882b21 (diff)
downloadgjs-7313e015247fd1746f3e9c1fc2420b48d5029643.tar.gz
Merge branch 'ewlsh/fix-ci-dassert' into 'master'
Use g_assert_true in test tools, not g_assert Closes #436 See merge request GNOME/gjs!667
-rw-r--r--installed-tests/js/libgjstesttools/gjs-test-tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/installed-tests/js/libgjstesttools/gjs-test-tools.cpp b/installed-tests/js/libgjstesttools/gjs-test-tools.cpp
index e52b6e66..ce79366c 100644
--- a/installed-tests/js/libgjstesttools/gjs-test-tools.cpp
+++ b/installed-tests/js/libgjstesttools/gjs-test-tools.cpp
@@ -87,7 +87,7 @@ void gjs_test_tools_save_object(GObject* object) {
void gjs_test_tools_save_object_unreffed(GObject* object) {
GObject* expected = nullptr;
- g_assert(m_tmp_object.compare_exchange_strong(expected, object));
+ g_assert_true(m_tmp_object.compare_exchange_strong(expected, object));
}
void gjs_test_tools_clear_saved() {