Thread
Commits
-
Add test case for abbrev(cidr)
- 69273c8f88d7 14.0 landed
-
small test case for abbrev(cidr)
Peter Eisentraut <peter.eisentraut@enterprisedb.com> — 2021-02-08T18:40:50Z
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 <tgl@sss.pgh.pa.us> — 2021-02-08T19:29:41Z
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