| 1866 | } |
| 1867 | |
| 1868 | static const char *registry_scope_canonical(cbm_registry_t *r, const char *name, const char *qn) { |
| 1869 | const char **candidates = NULL; |
| 1870 | int count = 0; |
| 1871 | cbm_registry_find_by_name(r, name, &candidates, &count); |
| 1872 | for (int i = 0; i < count; i++) { |
| 1873 | if (strcmp(candidates[i], qn) == 0) { |
| 1874 | return candidates[i]; |
| 1875 | } |
| 1876 | } |
| 1877 | return NULL; |
| 1878 | } |
| 1879 | |
| 1880 | TEST(registry_python_scope_complete_candidate_boundaries) { |
| 1881 | const size_t lengths[] = {511, 512, 513, 1536}; |
no test coverage detected