[libadwaita/wip/exalm/squeezer-test] squeezer: Fix tests
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/squeezer-test] squeezer: Fix tests
- Date: Mon, 26 Jul 2021 12:12:12 +0000 (UTC)
commit 11effb6e192b8f94d07e3eaa6994de1354f07725
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Jul 26 17:10:42 2021 +0500
squeezer: Fix tests
tests/test-squeezer.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-squeezer.c b/tests/test-squeezer.c
index 5996d854..be3d84dc 100644
--- a/tests/test-squeezer.c
+++ b/tests/test-squeezer.c
@@ -33,13 +33,13 @@ test_adw_squeezer_allow_none (void)
squeezer = g_object_ref_sink (ADW_SQUEEZER (adw_squeezer_new ()));
g_assert_nonnull (squeezer);
- g_assert_true (adw_squeezer_get_allow_none (squeezer));
-
- adw_squeezer_set_allow_none (squeezer, FALSE);
g_assert_false (adw_squeezer_get_allow_none (squeezer));
adw_squeezer_set_allow_none (squeezer, TRUE);
g_assert_true (adw_squeezer_get_allow_none (squeezer));
+
+ adw_squeezer_set_allow_none (squeezer, FALSE);
+ g_assert_false (adw_squeezer_get_allow_none (squeezer));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]