1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

unittests: check return value of ng_netif_get()

This commit is contained in:
Martine Lenders 2015-03-16 16:24:35 +01:00
parent 2909c87329
commit c3e9a931ff

View File

@ -152,7 +152,7 @@ static void test_ng_netif_get__full(void)
TEST_ASSERT_EQUAL_INT(0, ng_netif_add(TEST_UINT8 + i));
}
ng_netif_get(&size);
TEST_ASSERT_NOT_NULL(ng_netif_get(&size));
TEST_ASSERT_EQUAL_INT(NG_NETIF_NUMOF, size);
}