mirror of https://github.com/getdnsapi/getdns.git
Fix more sloppiness, wrong function names in error messages for getdns_dict_get_dict() tests
This commit is contained in:
parent
0f93bed1de
commit
4301bb17c4
|
@ -19,7 +19,7 @@
|
||||||
struct getdns_dict *answer = NULL;
|
struct getdns_dict *answer = NULL;
|
||||||
|
|
||||||
ASSERT_RC(getdns_dict_get_dict(this_dict, "key", &answer),
|
ASSERT_RC(getdns_dict_get_dict(this_dict, "key", &answer),
|
||||||
GETDNS_RETURN_NO_SUCH_DICT_NAME, "Return code from getdns_dict_get_data_type()");
|
GETDNS_RETURN_NO_SUCH_DICT_NAME, "Return code from getdns_dict_get_dict()");
|
||||||
|
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
GETDNS_RETURN_GOOD, "Return code from getdns_dict_set_dict()");
|
GETDNS_RETURN_GOOD, "Return code from getdns_dict_set_dict()");
|
||||||
|
|
||||||
ASSERT_RC(getdns_dict_get_dict(this_dict, NULL, &answer),
|
ASSERT_RC(getdns_dict_get_dict(this_dict, NULL, &answer),
|
||||||
GETDNS_RETURN_NO_SUCH_DICT_NAME, "Return code from getdns_dict_get_data_type()");
|
GETDNS_RETURN_NO_SUCH_DICT_NAME, "Return code from getdns_dict_get_dict()");
|
||||||
|
|
||||||
DICT_DESTROY(this_dict);
|
DICT_DESTROY(this_dict);
|
||||||
DICT_DESTROY(second_dict);
|
DICT_DESTROY(second_dict);
|
||||||
|
|
Loading…
Reference in New Issue