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:
parent
2909c87329
commit
c3e9a931ff
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user