[DBD::Pg] Fix test counting, should fix RT #79544. Turns out we were checking only the "error" path, but the non-error path has two tests, while the error has one. Hence, 3*5 = 15 rather than 3*6 = 18, which accounts for the missing three items in the report.
dbdpg-commits-gENoVmVU/[email protected] Sat, 1 Feb 2014 10:32:00 -0500
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Fix test counting, should fix RT #79544. Turns out we were checking only the "error" path, but the non-error path has two tests, while the error has one. Hence, 3*5 = 15 rather than 3*6 = 18, which accounts for the missing three items in the report. --- t/09arrays.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/09arrays.t b/t/09arrays.t index 3028623..806e90c 100644 --- a/t/09arrays.t +++ b/t/09arrays.t @@ -216,7 +216,7 @@ for my $test (split /\n\n/ => $array_tests) { my $ver = $1; if ($pgversion < $ver) { SKIP: { - skip ('Cannot test NULL arrays unless version 8.2 or better', 5); + skip ('Cannot test NULL arrays unless version 8.2 or better', 6); } next; } -- 1.8.4