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.
This commit is contained in:
Beniamino Galvani 2023-02-16 13:33:56 +01:00
parent cae5d1b89f
commit f97dd2bb95

View file

@ -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++) {