libnm/tests: fix crash in tests

Fixes: daf4ba43da
This commit is contained in:
Thomas Haller 2018-05-29 14:33:21 +02:00
parent 3c6bd6769b
commit 7bde4bd492

View file

@ -6440,6 +6440,7 @@ test_nm_utils_enum (void)
.nick = "nick-red",
.value = NM_TEST_GENERAL_COLOR_FLAGS_RED,
},
{ 0 },
};
_test_nm_utils_enum_to_str_do (bool_enum, NM_TEST_GENERAL_BOOL_ENUM_YES, "yes");