Skip to content

Commit

Permalink
tests/gnrc_netif: Adapt test to new interface names
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrolanzieri committed Nov 29, 2019
1 parent 8aa66e9 commit cb28400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gnrc_netif/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ static void test_netif_get_name(void)
TEST_ASSERT_NOT_NULL(netif);

res = netif_get_name(netif, name);
sprintf(exp_name, "if%d", (int) ((gnrc_netif_t *)netif)->pid);
sprintf(exp_name, "%d", (int) ((gnrc_netif_t *)netif)->pid);
TEST_ASSERT_EQUAL_INT(strlen(exp_name), res);
TEST_ASSERT_EQUAL_STRING(&exp_name[0], &name[0]);
}
Expand Down

0 comments on commit cb28400

Please sign in to comment.