about summary refs log tree commit diff
path: root/libnm-core/tests/test-general.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-05-30 00:24:45 +0200
committerMichael Biebl <biebl@debian.org>2020-06-21 12:57:23 +0200
commit58a8f6b71c1cbd20fc4b67386ab030252a8cf3b3 (patch)
tree16e649a120dd8788f2be703732390567686133b9 /libnm-core/tests/test-general.c
parent7d3ff20eeaa6c7db2503a0289a210b06030b33c5 (diff)
parent45e8e1149027529194982212c804c0468aa01d98 (diff)
Update upstream source from tag 'upstream/1.24.2'
Update to upstream version '1.24.2'
with Debian dir ccbabe9f55adb82b9a243cc1783c175e85723f60
Diffstat (limited to 'libnm-core/tests/test-general.c')
-rw-r--r--libnm-core/tests/test-general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/tests/test-general.c b/libnm-core/tests/test-general.c
index 138702e4..2b1f1e3d 100644
--- a/libnm-core/tests/test-general.c
+++ b/libnm-core/tests/test-general.c
@@ -4277,7 +4277,7 @@ test_hwaddr_equal (void)
 	g_assert (nm_utils_hwaddr_matches (null_binary, sizeof (null_binary), null_binary, sizeof (null_binary)));
 	g_assert (nm_utils_hwaddr_matches (null_binary, sizeof (null_binary), NULL, ETH_ALEN));
 
-	g_assert (nm_utils_hwaddr_matches (NULL, -1, NULL, -1));
+	g_assert (!nm_utils_hwaddr_matches (NULL, -1, NULL, -1));
 	g_assert (!nm_utils_hwaddr_matches (NULL, -1, string, -1));
 	g_assert (!nm_utils_hwaddr_matches (string, -1, NULL, -1));
 	g_assert (!nm_utils_hwaddr_matches (NULL, -1, null_string, -1));