diff --git a/tests/drivers/encx24j600/main.c b/tests/drivers/encx24j600/main.c index 6bb8005732..ccf430cae9 100644 --- a/tests/drivers/encx24j600/main.c +++ b/tests/drivers/encx24j600/main.c @@ -21,9 +21,9 @@ #include #include "shell.h" +#include "test_utils/expect.h" #include "test_utils/netdev_eth_minimal.h" #include "init_dev.h" -#include "assert.h" #include "encx24j600.h" #include "encx24j600_params.h" @@ -41,7 +41,7 @@ int netdev_eth_minimal_init_devs(netdev_event_cb_t cb) { /* initialize the device driver */ int res = device->driver->init(device); - assert(!res); + expect(!res); } return 0;