diff options
Diffstat (limited to 'src/libnm-core-impl/tests/test-setting.c')
| -rw-r--r-- | src/libnm-core-impl/tests/test-setting.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libnm-core-impl/tests/test-setting.c b/src/libnm-core-impl/tests/test-setting.c index 4b5a0b6f..f3309166 100644 --- a/src/libnm-core-impl/tests/test-setting.c +++ b/src/libnm-core-impl/tests/test-setting.c @@ -4732,8 +4732,10 @@ test_setting_metadata(void) g_assert(sip->param_spec->value_type == G_TYPE_BYTES); } else if (sip->property_type->direct_type == NM_VALUE_TYPE_STRV) { g_assert(g_variant_type_equal(sip->property_type->dbus_type, "as")); - g_assert(sip->property_type->to_dbus_fcn - == _nm_setting_property_to_dbus_fcn_direct); + g_assert(NM_IN_SET(sip->property_type->to_dbus_fcn, + _nm_setting_property_to_dbus_fcn_direct, + _nm_setting_wireless_mac_denylist_to_dbus, + _nm_setting_wired_mac_denylist_to_dbus)); g_assert(sip->param_spec); g_assert(sip->param_spec->value_type == G_TYPE_STRV); } else |