diff options
author | nulltoken <emeric.fermas@gmail.com> | 2011-12-28 20:24:58 +0100 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2011-12-28 20:25:29 +0100 |
commit | eb8de7476b4d3caeac518ff9af459c49cfd78e35 (patch) | |
tree | f77a41b173b4b504591f230f287a0066a1c28ac2 /tests-clay/clay_main.c | |
parent | 06fcf057b6da37ffd388e4a31c2671b20d0dd21e (diff) | |
download | libgit2-eb8de7476b4d3caeac518ff9af459c49cfd78e35.tar.gz |
util: add git__fromhex()
Diffstat (limited to 'tests-clay/clay_main.c')
-rw-r--r-- | tests-clay/clay_main.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests-clay/clay_main.c b/tests-clay/clay_main.c index 318e096b6..7df342cdf 100644 --- a/tests-clay/clay_main.c +++ b/tests-clay/clay_main.c @@ -167,6 +167,9 @@ static const struct clay_func _clay_cb_core_filebuf[] = { {"4", &test_core_filebuf__4}, {"5", &test_core_filebuf__5} }; +static const struct clay_func _clay_cb_core_hex[] = { + {"fromhex", &test_core_hex__fromhex} +}; static const struct clay_func _clay_cb_core_oid[] = { {"streq", &test_core_oid__streq} }; @@ -363,6 +366,12 @@ static const struct clay_suite _clay_suites[] = { _clay_cb_core_filebuf, 6 }, { + "core::hex", + {NULL, NULL}, + {NULL, NULL}, + _clay_cb_core_hex, 1 + }, + { "core::oid", {"initialize", &test_core_oid__initialize}, {NULL, NULL}, @@ -538,8 +547,8 @@ static const struct clay_suite _clay_suites[] = { } }; -static size_t _clay_suite_count = 38; -static size_t _clay_callback_count = 122; +static size_t _clay_suite_count = 39; +static size_t _clay_callback_count = 123; /* Core test functions */ static void |