summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2023-02-16 13:33:56 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2023-03-02 16:51:16 +0100
commitf97dd2bb9544c36fcadc5c96c7f6e9a832435b11 (patch)
tree4deb1c0bd77313f298c5cd6eb69dfc8dc249381e
parentcae5d1b89f279316d846aac1b2abce28818b7302 (diff)
downloadNetworkManager-f97dd2bb9544c36fcadc5c96c7f6e9a832435b11.tar.gz
libnm-core: remove assertion in test
It's another place to change when adding a new setting and it doesn't seem useful to assert that the number is exactly 54.
-rw-r--r--src/libnm-core-impl/tests/test-setting.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libnm-core-impl/tests/test-setting.c b/src/libnm-core-impl/tests/test-setting.c
index 09e0fc70ee..46e6818125 100644
--- a/src/libnm-core-impl/tests/test-setting.c
+++ b/src/libnm-core-impl/tests/test-setting.c
@@ -121,8 +121,6 @@ test_nm_meta_setting_types_by_priority(void)
G_STATIC_ASSERT_EXPR(_NM_META_SETTING_TYPE_NUM
== G_N_ELEMENTS(nm_meta_setting_types_by_priority));
- G_STATIC_ASSERT_EXPR(_NM_META_SETTING_TYPE_NUM == 54);
-
arr = g_ptr_array_new_with_free_func(g_object_unref);
for (i = 0; i < _NM_META_SETTING_TYPE_NUM; i++) {