snmpapi: Fix printf format warnings in tests.

This commit is contained in:
Alexandre Julliard 2007-01-26 13:07:05 +01:00
parent 641abc997c
commit be570f4655
1 changed files with 8 additions and 8 deletions

View File

@ -83,23 +83,23 @@ static void test_SnmpUtilOidToA(void)
ret = SnmpUtilOidToA(&oid2); ret = SnmpUtilOidToA(&oid2);
ok(ret != NULL, "SnmpUtilOidToA failed\n"); ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect2), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", ok(!strcmp(ret, expect2), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect2, strlen(ret)); ret, expect2);
ret = SnmpUtilOidToA(&oid3); ret = SnmpUtilOidToA(&oid3);
ok(ret != NULL, "SnmpUtilOidToA failed\n"); ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect3, strlen(ret)); ret, expect3);
ret = SnmpUtilOidToA(&oid4); ret = SnmpUtilOidToA(&oid4);
ok(ret != NULL, "SnmpUtilOidToA failed\n"); ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect3, strlen(ret)); ret, expect3);
ret = SnmpUtilOidToA(&oid5); ret = SnmpUtilOidToA(&oid5);
ok(ret != NULL, "SnmpUtilOidToA failed\n"); ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect4), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", ok(!strcmp(ret, expect4), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect4, strlen(ret)); ret, expect4);
} }
static void test_SnmpUtilAsnAnyCpyFree(void) static void test_SnmpUtilAsnAnyCpyFree(void)