Обсуждение: small test case for abbrev(cidr)

Поиск
Список
Период
Сортировка

small test case for abbrev(cidr)

От
Peter Eisentraut
Дата:
I noticed that the file src/backend/utils/adt/inet_cidr_ntop.c has no 
test coverage at all.  The only way to reach this appears to be by 
calling abbrev(cidr).  It was easy to add a test case for this into the 
existing, otherwise pretty complete, cidr tests.

Вложения

Re: small test case for abbrev(cidr)

От
Tom Lane
Дата:
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> I noticed that the file src/backend/utils/adt/inet_cidr_ntop.c has no 
> test coverage at all.  The only way to reach this appears to be by 
> calling abbrev(cidr).  It was easy to add a test case for this into the 
> existing, otherwise pretty complete, cidr tests.

Seems reasonable.

            regards, tom lane