MCPcopy Create free account
hub / github.com/git/git / check_normalized_url

Function check_normalized_url

t/unit-tests/u-urlmatch-normalization.c:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12static void check_normalized_url(const char *url, const char *expect)
13{
14 char *url_norm = url_normalize(url, NULL);
15
16 cl_assert_equal_s(url_norm, expect);
17 free(url_norm);
18}
19
20static void compare_normalized_urls(const char *url1, const char *url2,
21 unsigned int equal)

Calls 1

url_normalizeFunction · 0.85